Commit Graph

38565 Commits

Author SHA1 Message Date
Peter Barker a50004baff Rover: add sanity check when fetching GCS_MAVLink instance 2019-06-27 07:54:45 +10:00
Peter Barker 54ba686855 AP_InternalError: add bit for asking for a non-existant gcs backend 2019-06-27 07:54:45 +10:00
DonLakeFlyer b34b276844 Fix tab usage 2019-06-27 07:52:35 +10:00
DonLakeFlyer e7104fb6f0 Fix heli manifest generatio 2019-06-27 07:52:35 +10:00
Michael du Breuil e22bda2527 Sub: Send a heartbeat on mode change 2019-06-26 12:58:18 -07:00
Michael du Breuil 39c35814ec Plane: Send a heartbeat on mode change 2019-06-26 12:58:18 -07:00
Michael du Breuil 242096b65e Copter: Send a heartbeat on mode change 2019-06-26 12:58:18 -07:00
Michael du Breuil 99872ea9e2 Tracker: Send a heartbeat on mode change 2019-06-26 12:58:18 -07:00
Michael du Breuil 06e7120b4b Rover: Send a heartbeat on mode change 2019-06-26 12:58:18 -07:00
Michael du Breuil 67898d7320 AP_FrSky_Telem: Don't statically allocate the statustext_queue
This saves 280 bytes of RAM
2019-06-26 11:59:41 +10:00
Michael du Breuil f955a4e4d5 GCS_MAVLink: Don't retain a FrSky instance if we aren't using it
Saves 96 bytes of RAM
2019-06-26 11:59:41 +10:00
Michael du Breuil 59e62ca2fc AP_FrSky_Telem: Make init return false if we failed to init 2019-06-26 11:59:41 +10:00
Peter Barker 278ac5e6ed GCS_MAVLink: correct deferred body timing debug 2019-06-25 19:59:49 +10:00
Peter Barker dc75f382b8 Tools: autotest: loosen check for wait_circling_point_with_radius
Also add a timeout
2019-06-25 19:59:14 +10:00
Peter Barker 98f30fe099 Tools: script: uploader.py: add --identify option
Add option to make it absolutely clear what the MCU revision is and
whether it is flawed
2019-06-25 13:40:27 +10:00
Peter Barker 4b455afd42 scripts: uploader.py: print unplug hint when downloading firmware 2019-06-25 13:40:27 +10:00
hoangthien94 b741639002 GCS_Copter: Fixed precland condition to set SENSOR_VISION_POSITION flag 2019-06-25 09:42:45 +08:00
Peter Barker ea2de1c11a Rover: allow GCS MAVLink base class to handle out-of-time for sending messages 2019-06-25 10:29:40 +10:00
Peter Barker 973222c786 Sub: allow GCS MAVLink base class to handle out-of-time for sending messages 2019-06-25 10:29:40 +10:00
Peter Barker 3e4366906b Plane: allow GCS MAVLink base class to handle out-of-time for sending messages 2019-06-25 10:29:40 +10:00
Peter Barker b0beca7b01 Copter: allow GCS MAVLink base class to handle out-of-time for sending messages 2019-06-25 10:29:40 +10:00
Peter Barker feddaabc42 GCS_MAVLink: handle out-of-time to send messages in parent class 2019-06-25 10:29:40 +10:00
Andrew Tridgell 88111ef81a AP_BattMonitor: reset failsafe flags when we reset battery remaining 2019-06-25 09:56:25 +10:00
Andrew Tridgell f28df4dff1 GCS_MAVLink: support MAV_CMD_BATTERY_RESET command 2019-06-25 09:56:25 +10:00
Andrew Tridgell 11518857b6 AP_BattMonitor: added reset_remaining() API
used to allow battery swap before takeoff
2019-06-25 09:56:25 +10:00
Andrew Tridgell 0c7fb21c12 mavlink: added MAV_CMD_BATTERY_RESET 2019-06-25 09:56:25 +10:00
Peter Barker f67fd4e08c Sub: remove pointless protocol parameter to setup_uart 2019-06-25 09:47:08 +10:00
Peter Barker 78a1f97caa Plane: remove pointless protocol parameter to setup_uart 2019-06-25 09:47:08 +10:00
Peter Barker db2aff56c0 Copter: remove pointless protocol parameter to setup_uart 2019-06-25 09:47:08 +10:00
Peter Barker 932c36a3fb Tracker: remove pointless protocol parameter to setup_uart 2019-06-25 09:47:08 +10:00
Peter Barker 4a2022d6e3 Rover: remove pointless protocol parameter to setup_uart 2019-06-25 09:47:08 +10:00
Peter Barker a55c40949b GCS_MAVLink: remove pointless protocol parameter to setup_uart 2019-06-25 09:47:08 +10:00
Peter Barker 1de6fed20e Sub: stop pointlessly passing serial manager around 2019-06-25 09:47:08 +10:00
Peter Barker a900fa0117 Plane: stop pointlessly passing serial manager around 2019-06-25 09:47:08 +10:00
Peter Barker 5278919463 Copter: stop pointlessly passing serial manager around 2019-06-25 09:47:08 +10:00
Peter Barker 4f85d45fcb Tracker: stop pointlessly passing serial manager around 2019-06-25 09:47:08 +10:00
Peter Barker e2df3225b2 Rover: stop pointlessly passing serial manager around 2019-06-25 09:47:08 +10:00
Peter Barker ca449cd979 GCS_MAVLink: stop pointlessly passing serial manager around 2019-06-25 09:47:08 +10:00
Peter Barker 45fab82345 GCS_MAVLink: eliminate redundant static pointer to serialmanager 2019-06-25 09:47:08 +10:00
Peter Barker f3c1791341 Copter: stop passing gcs chan into method which wants an object 2019-06-25 09:45:54 +10:00
Randy Mackay 0b62641a46 AC_Avoidance: fix Dijkstra's iteration through polygon fence points 2019-06-25 00:32:18 +08:00
Peter Barker afd63c05ec AP_Tuning: ignore tuning selector switch unless valid RC input 2019-06-25 00:31:54 +08:00
Peter Barker 288b13868b AP_Tuning: debounce RC input 2019-06-25 00:31:54 +08:00
Andrew Tridgell b6dbb8f464 GCS_MAVLink: always show AHRS healthy with EKF type 10
this fixes an issue noticed by Marco with xplane
2019-06-25 00:28:45 +08:00
Andrew Tridgell 5ac2aad2f8 AP_Mission: fixed valgrind error on writing mission items 2019-06-24 18:19:14 +08:00
Peter Barker e4761e1ee4 Tools: autotest: avoid draining button change message we want 2019-06-24 10:04:39 +10:00
Peter Barker 0a2ee0f04c Tools: autotest: unshadow clear_mission method 2019-06-24 10:04:24 +10:00
Matt ad2d7dac3e Re-enable watchdog on Solo build targets 2019-06-23 09:00:32 +10:00
Peter Barker 1827d88f9a Tools: autotest: use set_parameter for setting glitch offsets
This state was persistent across tests, which wasn't helping for
consistency.
2019-06-21 13:50:55 +10:00
Peter Barker 98cb68157f Tools: autotest: add a test for Copter surface tracking 2019-06-21 13:50:55 +10:00