murata
998dd7207f
AP_Mount: Change from sqrt to safe_sqrt
2018-11-03 15:23:08 +09:00
Andrew Tridgell
49ce9d02b1
HAL_ChibiOS: ensure RC in channels are bounded
2018-11-02 22:52:25 +11:00
Peter Barker
793ff201b4
Sub: remove dead do_erase_logs method
2018-11-02 20:44:31 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
6b2ad734b6
AP_BLHeli: correct SERVO_BLH_POLES parameter value range metadata
2018-11-02 20:44:15 +09:00
Andrew Tridgell
1c162c8b64
Plane: ensure speed scaling covers full aircraft speed range
...
this is important for very fast or very slow aircraft
2018-11-02 15:30:50 +11:00
sal-mo
a513707de7
Tools: Update GIT_Success.txt
2018-11-02 10:43:17 +09:00
Randy Mackay
380884e175
Rover: shorten radio/throttle failsafe to 0.2 sec min
2018-11-02 10:31:37 +09:00
Randy Mackay
2408538bdf
Rover: failsafe clears rc-overrides
2018-11-02 10:31:37 +09:00
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
2018-11-02 10:31:37 +09:00
Randy Mackay
047f704236
Rover: last_heartbeat_ms moved to failsafe structure
2018-11-02 10:31:37 +09:00
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
2018-11-02 10:31:37 +09:00
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
2018-11-02 10:31:37 +09:00
Andrew Tridgell
4ae35ee3ea
Tools: temporarily revert to NuttX IO firmware
...
heater pin is inverted, leading to cube overheat. Fix will go in shortly
2018-11-02 09:08:33 +11:00
Randy Mackay
69e5a4b262
Rover: sailboat tack triggered by any switch movement
2018-11-01 18:04:19 +09:00
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
2018-11-01 18:04:19 +09:00
Randy Mackay
4dbff6af7e
Rover: use AP_WindVane's send_wind
2018-11-01 18:04:19 +09:00
Randy Mackay
0aaa6bf054
AP_WindVane: rename variables and parameters
...
also update comments and parameter descriptions
remove redundant wrap_PI
2018-11-01 18:04:19 +09:00
Randy Mackay
ecd1f8e658
AP_WindVane: add send_wind
2018-11-01 18:04:19 +09:00
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
2018-11-01 18:04:19 +09:00
IamPete1
0dddc2eafe
Rover: add sailboat tacking
2018-11-01 18:04:19 +09:00
IamPete1
bc1cf6a87a
AP_WindVane: add wind speed
2018-11-01 18:04:19 +09:00
Randy Mackay
ff4ef4968e
AP_WindVane: switch x and y in read_SITL_direction_ef
2018-11-01 18:04:19 +09:00
Randy Mackay
836237cc49
AP_WindVane: update parameter descriptions
2018-11-01 18:04:19 +09:00
IamPete1
e42c3c6fab
RC_Channel: add Sailboat Tack to aux switch
2018-11-01 18:04:19 +09:00
Michael du Breuil
513cfd1dcb
modules: update PX4Firmware module
2018-11-01 11:41:24 +11:00
vierfuffzig
e04ebb1326
HAL_ChibiOS: set BATT_MON default on boards with onboard volt/curr sens
2018-10-31 21:29:33 +11:00
Andrew Tridgell
6c6dabc33c
AP_HAL: set default batt monitoring for bebop and disco
2018-10-31 20:30:35 +11:00
Andrew Tridgell
1a5d60609d
AP_BattMonitor: added BATT_MONITOR_DEFAULT option
...
this is for boards with builtin current and voltage monitoring
2018-10-31 20:30:35 +11:00
Andrew Tridgell
78a32df2e7
HAL_ChibiOS: make all boards base GPIOs for servos at 50
...
this makes the docs for GPIO pins consistent across boards
2018-10-31 20:10:52 +11:00
Andrew Tridgell
5ce418b4ea
Plane: added FLIGHT_OPTIONS bit for disabling pitch up check in takeoff
...
some takeoff procedures use high pitch angles
2018-10-31 18:53:36 +11:00
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
2018-10-31 18:53:36 +11:00
Peter Barker
156ac83123
DataFlash: allow replay to work again
2018-10-31 16:05:33 +11:00
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
2018-10-31 16:05:33 +11:00
Peter Barker
af66d72510
Tools: Replay: correct -n command-line argument
2018-10-31 16:05:33 +11:00
Peter Barker
961aac454b
Tools: Replay: use Log_Write for CHEK message
2018-10-31 16:05:33 +11:00
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
2018-10-31 16:01:39 +11:00
Michael du Breuil
922d593f3d
AP_Mount: Fix strncpy warning
2018-10-30 16:17:03 -07:00
Michael du Breuil
3d7d23531a
AP_OpticalFlow: No need to clear already zerod objects
2018-10-30 16:17:03 -07:00
Michael du Breuil
d6944510da
AP_GPS: Suppress clearing non-trival type warning
2018-10-30 16:17:03 -07:00
Michael du Breuil
25ef5fed82
AP_NavEKF3: Suppress clearing non-trival type warning
2018-10-30 16:17:03 -07:00
Michael du Breuil
29db069c75
AP_NavEKF2: Suppress clearing non-trival type warning
2018-10-30 16:17:03 -07:00
Michael du Breuil
dda7c615a8
AP_Mount: Suppress clearing non-trival type warning
2018-10-30 16:17:03 -07:00
Michael du Breuil
4852562ec7
AP_AHRS: Suppress clearing non-trival type warning
2018-10-30 16:17:03 -07:00
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
2018-10-30 16:17:03 -07:00
Michael du Breuil
ac63e55c8d
SRV_Channel: Add scripting outputs
2018-10-30 16:17:03 -07:00
Michael du Breuil
2c3fe0cbcf
AP_Scripting: Load a sandbox enviorment
2018-10-30 16:17:03 -07:00
Michael du Breuil
645afbab82
ardupilotwaf: Add ROMFS for scripting
2018-10-30 16:17:03 -07:00
Michael du Breuil
0acb1103b0
AP_ROMFS: make all decompressions null terminated
2018-10-30 16:17:03 -07:00
Michael du Breuil
beaa069082
AP_Scripting: Disable lua coroutines
2018-10-30 16:17:03 -07:00
Andrew Tridgell
6f0fab6da9
Tools: updated bootloaders for pullup/pulldown fix
...
these were affected by the bug in the handling of pullup/pulldown
2018-10-31 08:15:42 +11:00