Randy Mackay
2408538bdf
Rover: failsafe clears rc-overrides
6 years ago
Randy Mackay
6167e6ac0b
Rover: gcs fs not triggered if rc-overrides arrive
...
also not triggered if manual-control messages arrive
also minor restructure of gcs_failsafe_check (non-functional)
also remove unnecessary failsafe_trigger call when heartbeats arrive
6 years ago
Randy Mackay
047f704236
Rover: last_heartbeat_ms moved to failsafe structure
6 years ago
Randy Mackay
ed8feda5b9
Rover: shorten failsafe timeouts
...
radio failsafes may trigger within 1sec (previously was 2 seconds)
default failsafe set to 1.5sec (was 5sec)
also minor improvement to FS_TIMEOUT parameter description
6 years ago
Randy Mackay
fa5de31cb9
Rover: rename control_failsafe to radio_failsafe_check
...
although this makes the name inconsistent with plane it is more precise because control can also come from rc-overrides which are covered by the GCS failsafe
6 years ago
Andrew Tridgell
4ae35ee3ea
Tools: temporarily revert to NuttX IO firmware
...
heater pin is inverted, leading to cube overheat. Fix will go in shortly
6 years ago
Randy Mackay
69e5a4b262
Rover: sailboat tack triggered by any switch movement
6 years ago
Randy Mackay
2db6b7c7cb
Rover: move sailboat vars into struct
...
also fix airspeed library's parameter description
also log NaN when we do not have wind direction or speed estimates
also send timeout message to GCS when taking takes too long
6 years ago
Randy Mackay
4dbff6af7e
Rover: use AP_WindVane's send_wind
6 years ago
Randy Mackay
0aaa6bf054
AP_WindVane: rename variables and parameters
...
also update comments and parameter descriptions
remove redundant wrap_PI
6 years ago
Randy Mackay
ecd1f8e658
AP_WindVane: add send_wind
6 years ago
Randy Mackay
8a57f63e5d
Tools: sailboat autotest param default enable SITL wind speed sensor
...
some of these should be defaulted in APMRover2/Parameters.cpp but this is not working correctly yet
6 years ago
IamPete1
0dddc2eafe
Rover: add sailboat tacking
6 years ago
IamPete1
bc1cf6a87a
AP_WindVane: add wind speed
6 years ago
Randy Mackay
ff4ef4968e
AP_WindVane: switch x and y in read_SITL_direction_ef
6 years ago
Randy Mackay
836237cc49
AP_WindVane: update parameter descriptions
6 years ago
IamPete1
e42c3c6fab
RC_Channel: add Sailboat Tack to aux switch
6 years ago
Michael du Breuil
513cfd1dcb
modules: update PX4Firmware module
6 years ago
vierfuffzig
e04ebb1326
HAL_ChibiOS: set BATT_MON default on boards with onboard volt/curr sens
6 years ago
Andrew Tridgell
6c6dabc33c
AP_HAL: set default batt monitoring for bebop and disco
6 years ago
Andrew Tridgell
1a5d60609d
AP_BattMonitor: added BATT_MONITOR_DEFAULT option
...
this is for boards with builtin current and voltage monitoring
6 years ago
Andrew Tridgell
78a32df2e7
HAL_ChibiOS: make all boards base GPIOs for servos at 50
...
this makes the docs for GPIO pins consistent across boards
6 years ago
Andrew Tridgell
5ce418b4ea
Plane: added FLIGHT_OPTIONS bit for disabling pitch up check in takeoff
...
some takeoff procedures use high pitch angles
6 years ago
Andrew Tridgell
a00e06ea13
Plane: added TKOFF_ACCEL_CNT for multi-shake to start
...
this allows you to setup shake to start with a lower accel threshold,
but with multiple fwd/back movements needed.
This implements https://github.com/ArduPilot/ardupilot/issues/2221
6 years ago
Peter Barker
156ac83123
DataFlash: allow replay to work again
6 years ago
Peter Barker
5452730fc9
Tools: Replay: make it work again
...
Tools: Replay: ignore setting of LOG_DISARMED
Otherwise log files that come in with LOG_DISARMED false don't get any
significant output
Tools: Replay: apply user parameters after any PARM message
Tools: Replay: emit timestamp when EKF is force-started
Tools: Replay: use stderr for what it's good for
Tools: Replay: force log disarmed
6 years ago
Peter Barker
af66d72510
Tools: Replay: correct -n command-line argument
6 years ago
Peter Barker
961aac454b
Tools: Replay: use Log_Write for CHEK message
6 years ago
fnoop
deeaf6ec09
AP_HAL_ChibiOS: Add UARTS to F405-Wing bootloader
...
AP_HAL_ChibiOS: Add pins to support new UART_ORDER uarts
AP_HAL_ChibiOS: Add UARTs to F405-Wing hwdef-bl.dat to support firmware upload on UARTS
6 years ago
Michael du Breuil
922d593f3d
AP_Mount: Fix strncpy warning
6 years ago
Michael du Breuil
3d7d23531a
AP_OpticalFlow: No need to clear already zerod objects
6 years ago
Michael du Breuil
d6944510da
AP_GPS: Suppress clearing non-trival type warning
6 years ago
Michael du Breuil
25ef5fed82
AP_NavEKF3: Suppress clearing non-trival type warning
6 years ago
Michael du Breuil
29db069c75
AP_NavEKF2: Suppress clearing non-trival type warning
6 years ago
Michael du Breuil
dda7c615a8
AP_Mount: Suppress clearing non-trival type warning
6 years ago
Michael du Breuil
4852562ec7
AP_AHRS: Suppress clearing non-trival type warning
6 years ago
Michael du Breuil
a2a8ac15b3
AP_Scripting: Add access to SRV_Channels::set_output_pwm
...
This also provides a more intresting function, with range checking. We
could choose to ignore this range checking and leave the script author
responsible for managing this, but it's probably better to protect the
author from themselves as much as possible, even if it makes the API
binding harder to automate
6 years ago
Michael du Breuil
ac63e55c8d
SRV_Channel: Add scripting outputs
6 years ago
Michael du Breuil
2c3fe0cbcf
AP_Scripting: Load a sandbox enviorment
6 years ago
Michael du Breuil
645afbab82
ardupilotwaf: Add ROMFS for scripting
6 years ago
Michael du Breuil
0acb1103b0
AP_ROMFS: make all decompressions null terminated
6 years ago
Michael du Breuil
beaa069082
AP_Scripting: Disable lua coroutines
6 years ago
Andrew Tridgell
6f0fab6da9
Tools: updated bootloaders for pullup/pulldown fix
...
these were affected by the bug in the handling of pullup/pulldown
6 years ago
Peter Barker
7e581da1cf
Copter: implement misson LOITER_TO_ALT
6 years ago
Peter Barker
4e82250055
Tools: autotest: add test for Copter loiter-to-alt
6 years ago
Peter Barker
f0ca4de313
AC_WPNav: add reached_wp_destination_xy
6 years ago
Peter Barker
1eac03a257
GCS_MAVLink: scale parameter send rate according to link bandwidth
6 years ago
Peter Barker
aed3527fb7
AP_HAL_PX4: return uart link bandwidth
6 years ago
Peter Barker
d2cf065fdf
AP_HAL_ChibiOS: return uart link bandwidth
6 years ago
Peter Barker
f8b1203399
AP_HAL: provide method returning approximate link bandwidth
6 years ago