Commit Graph

38449 Commits

Author SHA1 Message Date
Peter Barker ec0a93ff9c AC_Avoidance: add missing includes for AP_AHRS 2019-07-09 22:32:57 +10:00
Peter Barker 0af3ecca70 Sub: split RC_CHANNELS messages onto separate ap_message ids 2019-07-09 13:08:45 +10:00
Peter Barker 37014bdfe1 Plane: split RC_CHANNELS messages onto separate ap_message ids 2019-07-09 13:08:45 +10:00
Peter Barker 6435a867f5 Copter: split RC_CHANNELS messages onto separate ap_message ids 2019-07-09 13:08:45 +10:00
Peter Barker 9910a44dcc Tracker: split RC_CHANNELS messages onto separate ap_message ids 2019-07-09 13:08:45 +10:00
Peter Barker a4a54dc0cd Rover: split RC_CHANNELS messages onto separate ap_message ids 2019-07-09 13:08:45 +10:00
Peter Barker 1ebbe45fe1 GCS_MAVLink: split sending of RC_CHANNELS and RC_CHANNELS_RAW
Before this patch is applied we may never send the second message
because there's not room for it in the buffer and we can't return
failure-to-send (always interpreted as "retry") as we're in a void function.

Further, if you are on a mavlink2 connection we will not send out the
RC_CHANNELS_RAW message, depriving the user of any RC_CHANNELS messages.

This patch does have the drawback of doing more work on a mavlink1
connection - it has to fetch the data twice.  On the other hand, it also
allows the GCS to set the message rates independently for both
RC_CHANNELS and RC_CHANNELS_RAW so one or the other can be squelched.
That could be handy for reducing bandwidth if you know you're not using
more than 8 input channels.
2019-07-09 13:08:45 +10:00
Peter Barker 41bddf682f AP_Camera: remove unused includes 2019-07-09 12:47:18 +10:00
Pierre Kancir 9850d1afec Tools: update with flake8
W605 invalid escape sequence '\s'
F402 import 'time' from line 10 shadowed by loop variable
E101 indentation contains mixed spaces and tabs
E703 statement ends with a semicolon
2019-07-09 12:46:39 +10:00
Peter Barker a966c75deb SITL: remove unused forward declaration of AP_Logger 2019-07-09 10:57:20 +10:00
Peter Barker b7fa43e630 AP_Tuning: tidy includes 2019-07-09 10:57:20 +10:00
Peter Barker c0f25a96fb AP_TECS: move include of logger to .cpp file 2019-07-09 10:57:20 +10:00
Peter Barker ce4cdfd497 AP_SpdHgtControl: remove unused includes 2019-07-09 10:57:20 +10:00
Peter Barker a5ff46950c AP_Soaring: move include of logger to .cpp file 2019-07-09 10:57:20 +10:00
Peter Barker a037920de4 AP_Mount: tidy use of AP_Logger.h 2019-07-09 10:57:20 +10:00
Peter Barker cb692c6946 APM_Control: move logger include to .cpp 2019-07-09 10:57:20 +10:00
Peter Barker 899db3d3ac Tools: autotest: add test for sensor config error loop
Tools: autotest: exempt failing vehicles from SensorConfigError test
2019-07-09 10:01:23 +10:00
Peter Barker 332e878bae Copter: correct nullptr dereference in sensor-config error loop 2019-07-09 10:01:23 +10:00
Peter Barker e01ea2f5f9 SITL: support a count of baros 2019-07-09 10:01:23 +10:00
Peter Barker c283bb968b AP_Baro: support 0 detected simulated baros 2019-07-09 10:01:23 +10:00
Peter Barker 848a70acd4 AP_HAL_SITL: fix rebooting while in sensor config error loop 2019-07-09 10:01:23 +10:00
Peter Barker 9afb334f0c Sub: stop passing relay and ahrs into camera constructor 2019-07-09 09:32:39 +10:00
Peter Barker e977fce3ad Copter: stop passing relay and ahrs into camera constructor 2019-07-09 09:32:39 +10:00
Peter Barker 769e862807 Plane: stop passing relay and ahrs into camera constructor 2019-07-09 09:32:39 +10:00
Peter Barker 98f637ba6c Rover: stop passing relay and ahrs into camera constructor 2019-07-09 09:32:39 +10:00
Peter Barker 7c102b90fa AP_Logger: use singletons when logging camera information 2019-07-09 09:32:39 +10:00
Peter Barker 01773d9025 AP_Camera: use singletons for relay and ahrs insead of storing references 2019-07-09 09:32:39 +10:00
Peter Barker 05925b57ad Copter: mark position_ok methods as const 2019-07-09 09:26:45 +10:00
Peter Barker c8353c1c13 GCS_MAVLink: fill target system and target component in MISSION_ITEM responses 2019-07-09 09:25:06 +10:00
Peter Barker 7b933ffd8a Tools: autotest: add test for mission_item download
Ensures that target_system and target_component are appropriately set in
return packet
2019-07-09 09:25:06 +10:00
Peter Barker e6b1fa507d Tools: autotest: rename get_mission_item_on_link to get_mission_item_int_on_link 2019-07-09 09:25:06 +10:00
Tom Pittenger 3a5fc0149d gitignore: add way.txt for MAVPorxy waypoint missions
- this is already ignored on other vheicles when launching sim_vehicle from the directory but not if you launch sitl from root
2019-07-08 13:50:14 -07:00
Andrew Tridgell 97d0298295 Tools: added mRoControlZeroF7 bootloader 2019-07-09 06:31:46 +10:00
Peter Barker 001f276043 Tools: autotest: re-enable QAUTOTUNE test 2019-07-08 20:38:31 +10:00
Peter Barker 5b5f582307 Tools: autotest: present stack traces on exceptions 2019-07-08 16:51:25 +10:00
Peter Barker 6332d2e729 Tools: autotest: fix race condition with getting parameters 2019-07-08 16:51:25 +10:00
Randy Mackay 4d19d65047 Copter: 3.6.10-rc1 release notes 2019-07-08 14:26:43 +09:00
Peter Barker fe8d631964 AP_HAL_SITL: ensure termination of readlink-derived progname 2019-07-08 13:18:22 +10:00
Andrew Tridgell 3b0bd67afb HAL_ChibiOS: enable CAN on Pixhawk6 2019-07-08 12:19:20 +10:00
Siddharth Purohit 76ff347026 AP_UAVCAN: remove singleton interface from slcan_router 2019-07-08 12:18:29 +10:00
Siddharth Purohit 2f153a3577 HAL_ChibiOS: remove singleton interface from slcan_router 2019-07-08 12:18:29 +10:00
Siddharth Purohit 28288a7329 BoardConfig_CAN: remove singleton interface for slcan_router 2019-07-08 12:18:29 +10:00
Siddharth Purohit 7c00aa6477 modules: update ChibiOS 2019-07-08 12:18:29 +10:00
Siddharth Purohit 3e194903cc AP_UAVCAN: add Flow message to the sniffer test 2019-07-08 12:18:29 +10:00
Siddharth Purohit 67c925865c HAL_ChibiOS: add support for CAN on STM32H7 boards 2019-07-08 12:18:29 +10:00
Siddharth Purohit 1cd8e0e237 BoardConfig: set slcan can port to 0 as default
This is to ensure that can bus filters are actually used
2019-07-08 12:18:29 +10:00
Siddharth Purohit 8de169b1ce waf: remove redundant src includes for libuavcan drivers 2019-07-08 12:18:29 +10:00
Peter Barker b123abbe90 AP_Notify: add SITL Notify display 2019-07-08 10:56:54 +10:00
Peter Barker cd2ec1f57f Copter: remove set_default_dead_zone statement with no effect
This is immediately undone in the unconditional code below the #if
2019-07-08 09:26:02 +09:00
Peter Barker ebbd2b971b Copter: correct compilation under toymode 2019-07-08 09:55:46 +10:00