Andrew Tridgell
3a1cbaeb25
AP_Mission: fix for new compass API
10 years ago
Randy Mackay
4772fd338c
Mission: fix example sketch
10 years ago
Randy Mackay
355a92aff4
Mission: fix example sketch
10 years ago
Andrew Tridgell
3d433d2106
AP_Mission: loop check is only needed in one place
10 years ago
Andrew Tridgell
540cadc086
AP_Mission: prevent infinite loop with linked jump commands
...
this prevents a "jump loop" from causing a firmware lockup. Thanks to
dellarb for reporting this!
10 years ago
Andrew Tridgell
8aa1a89081
AP_Mission: updates for new AP_Baro API
10 years ago
Randy Mackay
a44b4b5e87
Mission: allow 15 do-jump commands on Pixhawk
10 years ago
Andrew Tridgell
ede920f293
AP_Mission: ensure location options are zero at start of mavlink conversion
10 years ago
Michael Day
b3e693daa4
AP_Mission: Support MAV_CMD_DO_FENCE_ENABLE as a mission item.
10 years ago
Michael Day
b36c1b2c3d
AP_Mission: support for MAV_CMD_CONTINUE_AND_CHANGE_ALT
10 years ago
Michael Day
83c2f497a3
AP_Mission: Change jump_to_landing_sequence to get_landing_sequence_start
10 years ago
Andrew Tridgell
868ee3af23
AP_Mission: fixed example build
10 years ago
Andrew Tridgell
15a661e17a
AP_Mission: fixed logic in jump_to_landing_sequence()
...
see comments on drones-discuss
10 years ago
Andrew Tridgell
8c6b875dcc
AP_Mission: avoid the AP_AHRS cast
...
get_position() is now const
10 years ago
Michael Day
ea91f4d47b
AP_Mission: Added support for MAV_CMD_DO_LAND_START
10 years ago
Randy Mackay
be1621877f
Mission: support GUIDED_ENABLE and GUIDED_LIMITS
...
This replaces the ardupilot only NAV_GUIDED command.
Also remove support for NAV_VELOCITY mission command which will be
replaced by SET_POSITION_TARGET non-mission command.
10 years ago
Randy Mackay
5ca3c4baf6
Mission: fix CHANGE_ALT to store climb rate in lat param
...
The slightly confusing storage of climb rate in the lat field led to a
bug fix a few months ago that actually created a bug.
11 years ago
Randy Mackay
1ce8e453c2
Mission: add support for DO_GRIPPER
11 years ago
Andrew Tridgell
effccacf46
AP_Mission: fixed acceptance radius outgoing
...
this needs to match incoming
11 years ago
Andrew Tridgell
3a5e960fe5
AP_Mission: revert APM_BUILD_TYPE change
11 years ago
Andrew Tridgell
36b854fa98
AP_Mission: fixed build for arduino IDE
11 years ago
Andrew Tridgell
c4f84232e2
AP_Mission: make cmd.p1 be radius on plane for NAV_WAYPOINT
11 years ago
Randy Mackay
d6aa868cac
Mission: start next nav cmd immediately after prev completes
11 years ago
Andrew Tridgell
3357df9529
AP_Mission: fixed example sketch
11 years ago
Andrew Tridgell
ce193f5c5c
AP_Mission: fixed example build
11 years ago
Andrew Tridgell
7a12ff0271
AP_Mission: convert to using StorageManager
11 years ago
Daniel Frenzel
1c7e8f8fb2
AP_Mission: Consecutive return, break, continue, goto or throw statements are unnecessary.
...
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
11 years ago
Andrew Tridgell
df55ae86c4
AP_Mission: added last_change_time_ms() call
...
will be used by terrain lib for scanning waypoints
11 years ago
Randy Mackay
621cc2b953
Mission: bug fix to condition-change-alt
...
Fix contributed by oniondream, thanks!
11 years ago
Andrew Tridgell
50f67dd57d
AP_Mission: fixed example build
11 years ago
Andrew Tridgell
34cbaa6f17
AP_Mission: added support for MAV_FRAME_GLOBAL_TERRAIN_ALT
11 years ago
Andrew Tridgell
feaf9751cc
AP_Mission: removed use of MAV_CMD_NAV_VELOCITY and MAV_CMD_NAV_GUIDED
11 years ago
Randy Mackay
fe8a5be802
AP_Mission: support MAV_CMD_NAV_VELOCITY msg
11 years ago
Randy Mackay
f4c9d58051
AP_Mission: add support for MAV_CMD_NAV_GUIDED
11 years ago
Randy Mackay
2f7dee3ba5
AP_Mission: squeeze loiter turns radius into high byte of p1
11 years ago
Andrew Tridgell
f0df912a11
AP_Mission: added support for MAV_CMD_DO_INVERTED_FLIGHT
11 years ago
Randy Mackay
05f5164dfa
Mission: rename AUTORESET to RESTART
11 years ago
Andrew Tridgell
818e500509
AP_Mission: improve the AP_Mission docs
...
DisplayName isn't a description
11 years ago
Andrew Chapman
782fbe1ec5
AP_Mission: added reset() function
11 years ago
Andrew Chapman
a80e72ff82
AP_Mission: added MIS_AUTORESTART parameter
...
- added MIS_AUTORESTART parameter, defaults to 0
- added start_or_resume() function to either start or resume a mission
based on that parameter value
11 years ago
Andrew Tridgell
e10542dcae
AP_Mission: added get_current_nav_index() function
...
this will return 0 when there is no current command, which is what is
expected in MAVLink when there is no mission
(it prevents the text to speech announcing "65 thousand 6 hundred and
thirty five", which is quite annoying!)
11 years ago
Randy Mackay
5322093475
Mission: fix example sketch after GPS lib changes
11 years ago
Randy Mackay
d8f9a1c6c6
Mission: add support for MAV_CMD_DO_PARACHUTE
11 years ago
Andrew Tridgell
cc212be41e
AP_Mission: added get_next_ground_course_cd() API
...
this gives the ground course of the next navigation leg, which can be
used to calculate the amount of steering required
11 years ago
Andrew Tridgell
31082f4ce2
AP_Mission: fixed a bug re-entering AUTO
...
this fixes a bug found by Marco where we would continue in CRUISE mode
with no waypoint if we re-entered AUTO after a mission reset
11 years ago
Randy Mackay
93f8d53d1b
Mission: make get_prev_nav_cmd_index const
11 years ago
Randy Mackay
ac339a0289
Mission: add decoding of NAV_SPLINE command
11 years ago
Randy Mackay
f2d9ad41aa
Mission: minor comment update
11 years ago
Andrew Tridgell
0af35bd636
AP_Mission: fixed some compiler warnings
11 years ago
Andrew Tridgell
3bdc22d672
AP_Mission: make p1 16 bit
...
this gives us a 16 bit value for extra data on a location, allowing
for an accurate angle in centi-degrees.
Also add validation of the size of the union arms in Content
11 years ago