auturgy
9aeb456a1d
AP_Mission: NFC Correct some comments
...
Some of the code comments were clearly C&P errors. This fixes that. I haven't corrected typos etc, to preserve history.
2020-07-17 09:12:48 +09:00
Andrew Tridgell
7c49723f19
AP_Mission: added continue after land mission option
...
this allows for option to continue a mission after a landing is
complete. The default in copter was to continue, so adding this
option makes copter not continue by default. Plane already disarmed on
land complete.
2020-06-02 09:12:22 +09:00
Buzz
963b25059d
AP_Scripting: allow to get/set/create arbitrary mission items
...
fetch item/s by their index, and review wp data, etc.
AP_Mission: ran mission files through approved astyle as they were non-compliant before this( astyle --options=Tools/CodeStyle/astylerc )
2020-05-12 09:58:14 +10:00
Gone4Dirt
d813ee27de
AP_Mission: Added immediate trigger for DO_SET_CAM_TRIGG_DIST
2020-03-31 10:05:40 +11:00
Gone4Dirt
537a259ab6
AP_Mission: added to rewind mission on resume with MAV_CMD_DO_SET_RESUME_REPEAT_DIST
2020-03-11 09:48:40 +11:00
Peter Hall
46714d69a5
AP_Mission: add get id functions for scripting
2020-02-27 18:07:31 -07:00
Gone4Dirt
d813a70c8d
AP_Mission: Added force resume for when MIS_RESTART=1
2020-02-25 10:05:12 +11:00
Gone4Dirt
44718cd00f
AP_Mission: Check if failsafes should interupt landing approach
2020-02-18 21:03:29 +11:00
Andrew Tridgell
5ae6ad2a59
AP_Mission: make all semaphores recursive
...
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
2020-01-19 20:19:30 +11:00
Peter Barker
405bf0ce7f
AP_Mission: adjust for new vehicle base class
2019-10-08 11:26:04 +11:00
Peter Barker
a7c5f5a6c8
AP_Mission: break out a convert_MISSION_ITEM_to_MISSION_ITEM_INT method
...
AP_Mission: remove unused mission_cmd_to_mavlink
AP_Mission: eliminate mavlink_to_mission_cmd (use mavlink_int_to_mission_cmd)
2019-05-22 08:53:45 +10:00
Peter Barker
9cd881b56c
AP_Mission: move responsibility for parachute deployment up
2019-02-13 09:25:27 +09:00
Peter Barker
402be4eaca
AP_Mission: const writing of commands to storage
2019-01-30 19:20:27 +09:00
Peter Barker
b12dc3cde7
AP_Mission: adjust for Location_Class and Location unification
2019-01-16 11:45:29 +11:00
Peter Barker
1b2ac38691
AP_Mission: adjust for Location no longer being packed
2019-01-16 11:45:29 +11:00
Michael du Breuil
fccf23dff2
AP_Mission: Add a helper to check if a mission contains an item
2019-01-08 10:39:50 +11:00
Michael du Breuil
670eaf8782
AP_Mission: Accept and store landing aborts in the mission
2018-12-15 09:03:25 +11:00
Peter Barker
a9b94ae13d
AP_Mission: use ahrs singleton
2018-11-08 10:01:16 +09:00
Peter Barker
b1b5a7868d
AP_Mission: handle common camera commands
2018-10-30 15:37:18 +11:00
Peter Barker
51d4b2da34
AP_Mission: move servorelayevents handling into AP_Mission
2018-10-30 15:37:18 +11:00
Peter Barker
182d3634aa
AP_Mission: handle gripper mission items
2018-10-30 15:37:18 +11:00
Peter Barker
8ebec6a237
AP_Mission: create start_command and verify_command wrappers
2018-10-30 15:37:18 +11:00
Peter Barker
71bff63bff
AP_Mission: remove erroneous comment about clear()
2018-09-04 10:32:26 +10:00
Peter Barker
16b49399db
AP_Mission: add singleton
2018-09-04 10:32:26 +10:00
Michael du Breuil
e878558d41
AP_Mission: Reduce the number of places _set_cmd is called from
2018-08-28 10:01:36 +10:00
Andrew Tridgell
0289ad03df
AP_Mission: added semaphore for thread access
2018-08-25 15:44:36 +10:00
Michael du Breuil
d5a4c6b5bc
AP_Mission: Sanity check for NaN's and infinities
2018-04-26 14:48:14 -07:00
Andrew Tridgell
a3e07f66a1
AP_Mission: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Peter Barker
30355fa6d8
AP_Mission: provide short description for mission item types
2017-11-27 10:28:24 +09:00
Randy Mackay
8b4345f29d
AP_Mission: add winch support
2017-10-27 09:20:38 +09:00
Lucas De Marchi
ef50783268
AP_Mission: add static create method
2017-09-26 03:01:21 +01:00
ChrisBird
46c982d64f
AP_Mission: add OPTIONS parameter
...
First option added now is to clear the mission on reboot
Fixes #5743
2017-08-29 21:28:19 +01:00
Randy Mackay
638ba02d5f
AP_Mission: add support for Set-Yaw-Speed command
...
This is initially only intended for use by Rover
2017-08-05 11:20:58 +09:00
Peter Barker
591bb32496
AP_Mission: correct off-by-one check when fetching mission items
2017-01-21 15:30:11 +09:00
Tom Pittenger
40777e9e74
AP_Mission: move jump_to_landing_sequence() to AP_Mission
2016-11-25 19:07:30 -08:00
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.
2016-10-24 09:42:01 -02:00
Andrew Tridgell
37f71bc6d6
AP_Mission: support DO_ENGINE_CONTROL
2016-07-25 10:06:03 +10:00
Randy Mackay
54731a139f
AP_Mission: rename starts_with_takeoff_cmd
2016-05-19 19:43:22 +09:00
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
2016-05-19 19:43:17 +09:00
Niti Rohilla
d771017c25
AP_Mission: support MAV_CMD_NAV_DELAY command
2016-05-19 16:16:02 +09:00
Tom Pittenger
f1186b8b5c
AP_Mission: store previous nav cmd id
2016-05-13 17:22:03 -07:00
Ricardo de Almeida Gonzaga
dfe38b61de
AP_Mission: Fix typos
2016-05-13 19:20:06 -03:00
Michael Day
62a7074dd7
AP_Mission: Added mavlink_cmd_long_to_mission_cmd method.
2016-05-06 11:59:44 -07:00
Michael Oborne
fb3fc118f1
AP_Mission: support MAVLINK_MSG_ID_MISSION_ITEM_INT
2016-05-01 07:13:23 +10:00
Andrew Tridgell
3a5e4c80ca
AP_Mission: support DO_VTOL_TRANSITION command
...
first 16 bit command ID
2016-04-23 21:03:46 +10:00
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.
2016-04-23 21:03:45 +10:00
Lucas De Marchi
2790c16905
AP_Mission: replace header guard with pragma once
2016-03-16 18:40:42 +11:00
DonLakeFlyer
7cd3d8bfdc
AP_Mission: better mission errors
2015-12-21 16:02:23 +11:00
Lucas De Marchi
3941bb7347
AP_Mission: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1
2015-11-04 12:14:12 +11:00
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
2015-08-29 21:17:35 +10:00