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
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
11 years ago
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.
11 years ago
Randy Mackay
c75560218d
Mission: command specific structures
11 years ago
Andrew Tridgell
3a6698f54b
AP_Mission: fixed typo
11 years ago
Andrew Tridgell
3538621c48
AP_Mission: doc updates
11 years ago
Randy Mackay
48329c1bba
Mission: bug fix for loading consecutive do-cmds
...
The verify step was not being run for the 2nd consecutive do-command in
a mission list
11 years ago
Randy Mackay
ece02b0c9a
Mission: get_prev_nav_cmd returns int16
11 years ago
Randy Mackay
266a1ce9af
Mission: bug fix set_current_cmd
...
If mission had completed desired command index was ignored
11 years ago
Andrew Tridgell
107cc2c126
AP_Mission: added truncate() function
...
Used when loading a mission while flying
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago
Andrew Tridgell
acdaf561c8
AP_Mission: fixed typo
11 years ago
Randy Mackay
8e117d29eb
Mission: test exceeding command storage size
11 years ago
Randy Mackay
9e07070d86
Mission: pass eeprom start into constructor
...
This allows different storage locations for ArduCopter, Plane and Rover
11 years ago
Randy Mackay
ddc4cd4f18
Mission: add init and check_eeprom_version methods
11 years ago
Randy Mackay
4c0a31a9dc
Mission: init home to zero before writing to eeprom
11 years ago
Randy Mackay
df339c05fc
Mission: num_commands returns uint16
11 years ago
Randy Mackay
e60865b715
Mission: example sketch test for set_current_cmd
11 years ago
Randy Mackay
512b378c4a
Mission: allow set_current_cmd when mission is not running
...
Can now be run when mission is complete or stopped. When mission is
resumed it will begin at the set command. This command can be either a
nav or do command
11 years ago