Francisco Ferreira
930981914a
AP_Mission: fix small bug in d5a4c6b
7 years ago
Michael du Breuil
d5a4c6b5bc
AP_Mission: Sanity check for NaN's and infinities
7 years ago
Peter Barker
30355fa6d8
AP_Mission: provide short description for mission item types
7 years ago
Randy Mackay
8b4345f29d
AP_Mission: add winch support
7 years ago
Michael du Breuil
a0a16b8369
AP_Mission: Load yaw heading for landing commands
7 years ago
Michael du Breuil
dbf67aa38a
AP_Mission: Remove duplicated code associated with copy the waypoint location
7 years ago
ChrisBird
46c982d64f
AP_Mission: add OPTIONS parameter
...
First option added now is to clear the mission on reboot
Fixes #5743
8 years ago
Michael du Breuil
db6d8c9c43
AP_Mission: Use a static assert to check content size
8 years ago
Randy Mackay
638ba02d5f
AP_Mission: add support for Set-Yaw-Speed command
...
This is initially only intended for use by Rover
8 years ago
Peter Barker
eab60e6163
AP_Mission: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Michael du Breuil
7e5aa5bc4c
AP_Mission: Prohibit resuming mission waypoints that are no longer in the mission
8 years ago
Peter Barker
591bb32496
AP_Mission: correct off-by-one check when fetching mission items
8 years ago
Tom Pittenger
a81f5cefbe
AP_Mission: don't wrap when masking via HIGH/LOWBYTE
8 years ago
Eugene Shamaev
dc3d10a28b
AP_Mission: waypoint command parsing
8 years ago
Peter Barker
6fd771afc9
AP_Mission: starts_with_takeoff uses get_next_nav_cmd
8 years ago
Michael du Breuil
f9acca67d3
AP_Mission: Align with spec better
...
Location is out of spec for NAV_RETURN_TO_LAUNCH
NAV_LOITER_UNLIM couldn't roundtrip the provided loiter radius
8 years ago
Peter Barker
20b83861e9
AP_Mission: support for NAV_CMD_PLACE
...
AP_Mission: check return values of mission fetches
8 years ago
Tom Pittenger
40777e9e74
AP_Mission: move jump_to_landing_sequence() to AP_Mission
8 years ago
Peter Barker
9d0d451c48
AP_Mission: add missing parameter metadata
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
Grant Morphett
4e8666cee9
AP_Mission: Adding new MAV_CMD_DO_SET_REVERSE for Rovers.
...
Rover now supports reverse via this MAV_CMD.
9 years ago
Tom Pittenger
41c9cace68
AP_Mission: mavlink parsing should use check_lat/lng functions
9 years ago
Michael du Breuil
fb07b8c4cc
Mission: fix bounds checking of MISSION_ITEM lat/lon
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
9073ac91ff
AP_Mission: 2of3 add loiter_xtrack option flag for post-loiter navigation via param4
...
0 to crosstrack from center of waypoint, 1 to crosstrack from tangent exit location
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
Michael du Breuil
fff21a1db9
Mission: Remove support for CONDITION_CHANGE_ALT
9 years ago
Michael du Breuil
831ae72908
AP_Mission: Remove DO_SET_PARAMETER
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
Tom Pittenger
1c513a99a0
AP_Mission: removed LOITER_TO_ALT heading requirement param field
...
- and increased loiter radius max size (8bit to 16bit), it will soon always have heading requirement along with all loiter cmds
9 years ago
Tom Pittenger
068374658c
AP_Mission: utilize radius for loiter commands
9 years ago
Andrew Tridgell
ad59cb9f5c
AP_Mission: support VTOL_TAKEOFF and VTOL_LAND
9 years ago
DonLakeFlyer
7cd3d8bfdc
AP_Mission: better mission errors
9 years ago
Caio Marcelo de Oliveira Filho
f20a4e413c
AP_Mission: use millis/micros/panic functions
9 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Randy Mackay
756d564b7c
Mission: sanity check command altitudes
9 years ago
Tom Pittenger
cb20325593
AP_Mission: added flight stage FLIGHT_LAND_ABORT
...
- 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 (+1 squashed commits)
- added mission item command to NAV_LAND which is the abort takeoff altitude. If 0 then use last takeoff if available, else use 50m
10 years ago
Tom Pittenger
1026e7df45
AP_Mission: updated comment
...
altitude and lat/lng are all used
10 years ago
Tom Pittenger
15b242832e
AP_Mission: lat/lng == 0 bug fix
...
was using wrong logic to check for lat/lng == 0
10 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
Randy Mackay
1271e531e2
Mission: sanity check location
10 years ago
Michael Day
a5e1d8e902
AP_Mission: Give CONINTUE_AND_CHANGE_ALT a parameter: climb/descend
...
Param 1 denotes which direction the user expects the plane to
travel when changing altitude:
0 = no expectation, command completes when within 5 m of altitude.
1 = climb expected, command completes at or above altitude.
2 = descent expected, command completes at or below altitude.
10 years ago