Peter Barker
591bb32496
AP_Mission: correct off-by-one check when fetching mission items
8 years ago
Tom Pittenger
40777e9e74
AP_Mission: move jump_to_landing_sequence() to AP_Mission
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
37f71bc6d6
AP_Mission: support DO_ENGINE_CONTROL
9 years ago
Randy Mackay
54731a139f
AP_Mission: rename starts_with_takeoff_cmd
9 years ago
Niti Rohilla
9ec0000691
AP_Mission: add check_takeoff_cmd
...
This checks that the first command in the mission is a takeoff command which helps avoid mission setup errors in which users forget to start a mission with a takeoff command
9 years ago
Niti Rohilla
d771017c25
AP_Mission: support MAV_CMD_NAV_DELAY command
9 years ago
Tom Pittenger
f1186b8b5c
AP_Mission: store previous nav cmd id
9 years ago
Ricardo de Almeida Gonzaga
dfe38b61de
AP_Mission: Fix typos
9 years ago
Michael Day
62a7074dd7
AP_Mission: Added mavlink_cmd_long_to_mission_cmd method.
9 years ago
Michael Oborne
fb3fc118f1
AP_Mission: support MAVLINK_MSG_ID_MISSION_ITEM_INT
9 years ago
Andrew Tridgell
3a5e4c80ca
AP_Mission: support DO_VTOL_TRANSITION command
...
first 16 bit command ID
9 years ago
Andrew Tridgell
09c3c36c00
AP_Mission: allow for 16 bit command IDs
...
this uses command ID 0 to allow for 16 bit command IDs. When used it
limits the content to just 10 bytes.
9 years ago
Lucas De Marchi
2790c16905
AP_Mission: replace header guard with pragma once
9 years ago
DonLakeFlyer
7cd3d8bfdc
AP_Mission: better mission errors
9 years ago
Lucas De Marchi
3941bb7347
AP_Mission: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1
9 years ago
Tom Pittenger
41508457e1
AP_Mission: add get_prev_nav_cmd_with_wp_index()
...
This is different than get_prev_nav_cmd_index() in that it only stores the index if there is a valid lat/lng
10 years ago
Gustavo Jose de Sousa
34d1a29ec1
AP_Mission: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Andrew Tridgell
08acde2766
AP_Mission: added ALTITUDE_WAIT NAV command
...
used for HAB launch
10 years ago
Andrew Tridgell
ec2d429513
AP_Mission: all vehicles now use functors
10 years ago
Andrew Tridgell
e3f8e22fc6
AP_Mission: removed BUILD_DELEGATES code
...
no longer needed
10 years ago
Lucas De Marchi
384a3bfcc3
AP_Mission: allow to use functor
10 years ago
Andrew Tridgell
e7ba2c8d93
AP_Mission: use APM_BUILD_DELEGATES
10 years ago
Andrew Tridgell
12cbf7888f
AP_Mission: support member functions for rover
10 years ago
Randy Mackay
dfadcad69d
Mission: allow zoom_step to be negative
10 years ago
Randy Mackay
888c2289ce
Mission: support do-digicam-control parameters
10 years ago
Randy Mackay
f6021010c5
Mission: support do-mount-control
10 years ago
Randy Mackay
a44b4b5e87
Mission: allow 15 do-jump commands on Pixhawk
10 years ago
Michael Day
83c2f497a3
AP_Mission: Change jump_to_landing_sequence to get_landing_sequence_start
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
1ce8e453c2
Mission: add support for DO_GRIPPER
11 years ago
Andrew Tridgell
7a12ff0271
AP_Mission: convert to using StorageManager
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
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
05f5164dfa
Mission: rename AUTORESET to RESTART
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
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
Randy Mackay
93f8d53d1b
Mission: make get_prev_nav_cmd_index const
11 years ago
Randy Mackay
f2d9ad41aa
Mission: minor comment update
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
c75560218d
Mission: command specific structures
11 years ago
Randy Mackay
ece02b0c9a
Mission: get_prev_nav_cmd returns int16
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
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