Commit Graph

34788 Commits

Author SHA1 Message Date
Peter Barker
72440e2af3 Copter: allow VFR_HUD.alt to be relative-alt if DEV_OPTIONS has bit 2 set 2018-11-06 11:26:38 +09:00
Peter Barker
3749cfd764 GCS_MAVLink: allow vehicles to override VFR_HUD.alt 2018-11-06 11:26:38 +09:00
Michael du Breuil
f7245e7797 Copter: Remove old parameter conversion that conflicts with newer code 2018-11-06 10:18:39 +09:00
Michael du Breuil
1c54fa0230 Plane: Remove old battery conversion that conflicts with new monitor 2018-11-06 10:18:39 +09:00
Michael du Breuil
4540109513 Sub: Fix battery failsafe parameter conversion 2018-11-06 10:18:39 +09:00
Michael du Breuil
5740ea55e8 Copter: Fix battery failsafe param conversion 2018-11-06 10:18:39 +09:00
Michael du Breuil
d9e02403e1 Plane: Fix battery failsafe parameter conversion 2018-11-06 10:18:39 +09:00
Randy Mackay
7fdd0bd996 AP_RangeFinder: Benewake driver discards distances over 327m 2018-11-06 11:58:32 +11:00
Peter Barker
1d322046b0 Copter: tidy up send_pid_tuning 2018-11-06 08:19:15 +09:00
Peter Barker
3803684c4e DataFlash: add sanity checks around EraseAll 2018-11-06 10:15:03 +11:00
Giacomo Ornati
83a1d0d07a Tools: modify of Git_Success.txt with my name 2018-11-06 08:11:15 +09:00
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