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
Andrew Tridgell
740ecc2c1b
Plane: use new handle_mission_request() function
2014-03-19 12:13:12 +09:00
Andrew Tridgell
add2416dbe
GCS_MAVLink: added handle_mission_request() common function
...
this handles requests for mission items, using stack saving
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:13:10 +09:00
Andrew Tridgell
ce29bbe394
GCS_MAVLink: save some memory in log download
...
use an existing buffer instead of using the mavlink _send()
function. This saves some stack space in log download
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:13:09 +09:00
Randy Mackay
de119e07bb
Rover: remove do_takeoff, do_change_alt support
2014-03-19 12:13:07 +09:00
Randy Mackay
2184ff1e58
Plane: set_next_WP fn accepts Location
2014-03-19 12:13:06 +09:00
Randy Mackay
59555e8364
Rover: revert next_WP, prev_WP to location structures
2014-03-19 12:13:04 +09:00
Randy Mackay
96b2e88e36
Plane: add comment to GCS_Mavlink.pde
2014-03-19 12:13:03 +09:00
Randy Mackay
ce9f2ef7f0
Plane: minor command logic comments and reordering
2014-03-19 12:13:01 +09:00
Randy Mackay
204eb8b7d3
Rover: use mission command specific structure
2014-03-19 12:13:00 +09:00
Randy Mackay
df5c874f73
Rover: fix to support uploading partial missions
2014-03-19 12:12:58 +09:00
Randy Mackay
30194b9e72
AutoTest: update AVC copter mission
...
According to the mavlink documentation, the do-change-speed command
should specify the target velocity in param2
2014-03-19 12:12:57 +09:00
Randy Mackay
a3573f9ebd
Copter: minor typo in do_change_speed processing
...
It is unlikely that the "f" at the end of the 100 is required to
maintain the full precision of the target speed but added just in case
2014-03-19 12:12:55 +09:00