Commit Graph

11535 Commits

Author SHA1 Message Date
Randy Mackay 9ff5ba3c3f Rover: integrate Mission cmd field changes 2014-03-19 12:14:27 +09:00
Randy Mackay 88527cd01c Copter: integrate Mission cmd field changes 2014-03-19 12:14:25 +09:00
Randy Mackay 3ce56f3086 Plane: integrate Mission cmd field changes 2014-03-19 12:14:24 +09:00
Randy Mackay c520cb789c Mission: cmd field types to match mavlink commands
Split Set-Servo and Repeat-Servo command structures
Split Set-Relay and Repeat-Relay command structures
2014-03-19 12:14:22 +09:00
Andrew Tridgell 1f74736804 AntennaTracker: use common deferred message handling 2014-03-19 12:14:21 +09:00
Andrew Tridgell e4b3323455 Copter: use common deferred message handling 2014-03-19 12:14:20 +09:00
Andrew Tridgell 8da72fccba Rover: use common deferred message handling 2014-03-19 12:14:18 +09:00
Andrew Tridgell 4031f7d368 Plane: use common deferred message handling 2014-03-19 12:14:17 +09:00
Andrew Tridgell 0832aba6bc GCS_MAVLINK: moved deferred message handling into common code 2014-03-19 12:14:15 +09:00
Andrew Tridgell c8eafc4d42 Rover: use common MISSION_ITEM handling 2014-03-19 12:14:14 +09:00
Andrew Tridgell 69252868a8 Copter: use common MISSION_ITEM handling 2014-03-19 12:14:12 +09:00
Andrew Tridgell b74fddade3 Plane: use common MISSION_ITEM code 2014-03-19 12:14:11 +09:00
Andrew Tridgell 8d89a64312 GCS_MAVLink: moved handling of MISSION_ITEM into common code 2014-03-19 12:14:09 +09:00
Andrew Tridgell ba8c4b86a0 AP_InertialNav: fixed example build 2014-03-19 12:14:08 +09:00
Andrew Tridgell d36989f6a1 AP_HAL: fixed example build 2014-03-19 12:14:06 +09:00
Andrew Tridgell d3d71d597c AP_Baro: fixed example build 2014-03-19 12:14:05 +09:00
Andrew Tridgell dbd8f4b735 AP_Airspeed: fixed example build 2014-03-19 12:14:03 +09:00
Andrew Tridgell afab8a9c5b AP_AHRS: fixed example build 2014-03-19 12:14:02 +09:00
Andrew Tridgell 04587efb2d AC_WPNav: fixed example build 2014-03-19 12:14:00 +09:00
Andrew Tridgell 1e9dcba3da AC_Sprayer: fixed example build 2014-03-19 12:13:59 +09:00
Andrew Tridgell 4507c0fc4c AC_Fence: fixed example build 2014-03-19 12:13:57 +09:00
Andrew Tridgell 73ae38eaf0 AC_AttitudeControl: fixed example build 2014-03-19 12:13:56 +09:00
Andrew Tridgell 23e296dd00 GCS_Console: fixed example build 2014-03-19 12:13:55 +09:00
Andrew Tridgell 5f85792224 DataFlash: fixed example build 2014-03-19 12:13:53 +09:00
Andrew Tridgell 2a199c4f03 AP_Notify: fixed example build 2014-03-19 12:13:51 +09:00
Andrew Tridgell 6eece3a278 AP_Mount: fixed example build 2014-03-19 12:13:50 +09:00
Andrew Tridgell acd54d0826 AP_Math: fixed example build 2014-03-19 12:13:48 +09:00
Andrew Tridgell 731f980327 AP_InertialSensor: fixed example build 2014-03-19 12:13:47 +09:00
Andrew Tridgell 278af21641 VARTest: fixed build 2014-03-19 12:13:46 +09:00
Andrew Tridgell b9939368ea CPUInfo: fixed build 2014-03-19 12:13:44 +09:00
Andrew Tridgell 851fb61901 AntennaTracker: fixed for new MAVLink handling 2014-03-19 12:13:43 +09:00
Andrew Tridgell 0aafef9f69 Rover: use new common MAVLink message handlers 2014-03-19 12:13:41 +09:00
Andrew Tridgell f4ed2beacd Copter: use new common MAVLink message handlers 2014-03-19 12:13:40 +09:00
Andrew Tridgell 0d39f354b0 Plane: use new common MAVLink code 2014-03-19 12:13:38 +09:00
Andrew Tridgell 965f6bd3bd GCS_MAVLink: make DataFlash a pointer
handle sketches where DataFlash is not available
2014-03-19 12:13:37 +09:00
Andrew Tridgell b85c5123b2 GCS_MAVLink: added save parameter to handle_request_data_stream()
this allows copter to not save stream rate changes
2014-03-19 12:13:35 +09:00
Andrew Tridgell 79bb14b8c1 GCS_MAVLink: moved RADIO_STATUS handling into common code 2014-03-19 12:13:34 +09:00
Andrew Tridgell 144217ac74 GCS_MAVLink: moved parameter and stream handling into common code
this keeps it in common between vehicles, and saves stack space
2014-03-19 12:13:32 +09:00
Andrew Tridgell 06c578eb34 GCS_MAVLink: re-generate MAVLink headers 2014-03-19 12:13:31 +09:00
Andrew Tridgell 7d3523b4a7 Plane: use _send_buf() functions to reduce stack usage in MAVLink replies
this re-uses the incoming message buffer in constructing the reply
2014-03-19 12:13:28 +09:00
Andrew Tridgell 537e78f9fa Plane: much faster mission upload
send next WP request immediately if possible. This speeds up mission
upload on USB by about 10x
2014-03-19 12:13:27 +09:00
Andrew Tridgell 0b811ba6a9 GCS_MAVLink: added have_flow_control() method
can be used to change speed of handling some protocol methods, as we
know communication will be reliable
2014-03-19 12:13:25 +09:00
Randy Mackay a90a10b0ca Rover: use common GCS_MAVLink handle_mission methods 2014-03-19 12:13:24 +09:00
Randy Mackay 6ef2b55602 Copter: use common GCS_MAVLink handle_mission methods 2014-03-19 12:13:22 +09:00
Randy Mackay 1ad743c4e1 Plane: use common GCS_MAVLink handle_mission methods 2014-03-19 12:13:21 +09:00
Randy Mackay c462adf2ee GCS_MAVLink: added five handle_mission methods
The five methods moved from the vehicle specific code are
handle_mission_request_list, set_current, count, clear_all and
write_partial_list
2014-03-19 12:13:19 +09:00
Randy Mackay 3938fb7255 GCS_MAVLink: loiter direction removed
This is now handled in Mission library
2014-03-19 12:13:18 +09:00
Randy Mackay 37cff752c8 Mission: handle Loiter direction
loiter-unlimited, loiter-turns and loiter-time cms specify the turn
direction in Param3.  This is stored in the location's loiter_ccw flag.
Previously supported only in Plane, moving here allows us to share more
code with Plane, Copter, Rover.
2014-03-19 12:13:16 +09:00
Andrew Tridgell 85725de9cb Copter: use new handle_mission_request()
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:13:15 +09:00
Andrew Tridgell c7c8a36620 Rover: use new handle_mission_request() function
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:13:13 +09:00