Commit Graph

34627 Commits

Author SHA1 Message Date
Andrew Tridgell
cab5199da8 AP_IOMCU: fixed a race in event trigger on startup
this fixes the issue with initial safety option state, and with
initial safety mask
2018-11-05 19:24:44 +11:00
Peter Barker
7c86ce4d81 Copter: change default streamrate for ADSB from 5 to 0
No other stream has a default streamrate in Copter.

This causes us small amounts of overhead as it marks all channels as
streaming.
2018-11-05 14:57:55 +09:00
Peter Barker
0afc9bf724 AP_Mount: SoloGimbal: avoid calling safe_sqrtf 2018-11-05 16:24:29 +11:00
Peter Barker
126065e95c AP_Mount: trim out dead getDebug method 2018-11-05 16:24:29 +11:00
kohse0810
7d16888067 Tools: add my name to Git_Success.txt 2018-11-05 12:19:50 +09:00
Peter Barker
d9d9a298bb AP_SmartRTL: stop constructing/copying Bitmask 2018-11-05 12:17:55 +09:00
Peter Barker
6b7e04da06 AP_Common: Bitmask: remove copy operator and constructor 2018-11-05 12:17:55 +09:00
Michael du Breuil
68d713b971 Sub: Make capability init consistent 2018-11-05 14:04:36 +11:00
Michael du Breuil
9e1b0de6b7 Plane: Make capability init consistent 2018-11-05 14:04:36 +11:00
Michael du Breuil
0f636db159 Copter: Make capability init consistent 2018-11-05 14:04:36 +11:00
Michael du Breuil
32b88feb60 Tracker: Make capability init consistent 2018-11-05 14:04:36 +11:00
Michael du Breuil
a40295c3b6 Rover: Make capability init consistent 2018-11-05 14:04:36 +11:00
Peter Barker
8641dcbc31 AP_Mount: SoloGimbal: stop taking reference to AHRS 2018-11-05 11:41:31 +09:00
Peter Barker
f94755b5a1 Tools: autotest: collect logs correctly for Sub 2018-11-05 12:45:52 +11:00
Andrew Tridgell
76f4b132b2 Tools: build omnibusf4v6 2018-11-04 22:02:05 +11:00
fat_dell
d1f557e96b HAL_ChibiOS: added Omnibusf4v6 board, based on omnibusnanov6. 2018-11-04 22:00:15 +11:00
Peter Barker
7600d3205a Tools: correct race condition in interlock check 2018-11-04 21:38:15 +11:00
murata
6db54bd65e AC_AttitudeControl: Change from sqrt to safe_sqrt 2018-11-03 15:23:15 +09:00
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