Jaaaky
0e569e5566
AP_Mission: Fix comments for DO_CHANGE_SPEED
4 years ago
Tom Pittenger
043a3ba06e
AP_Mission: add accessor for in_landing_flag()
4 years ago
Randy Mackay
1fbc7b99da
AP_Mission: add CMD_DO_WINCH string
...
This is used to send a text message to the GCS as the command starts
5 years ago
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.
5 years ago
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.
5 years ago
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 )
5 years ago
murata
cd981695a6
AP_Mission: Change the tab code to whitespace
5 years ago
Gone4Dirt
d813ee27de
AP_Mission: Added immediate trigger for DO_SET_CAM_TRIGG_DIST
5 years ago
Gone4Dirt
537a259ab6
AP_Mission: added to rewind mission on resume with MAV_CMD_DO_SET_RESUME_REPEAT_DIST
5 years ago
Peter Hall
46714d69a5
AP_Mission: add get id functions for scripting
5 years ago
Gone4Dirt
d813a70c8d
AP_Mission: Added force resume for when MIS_RESTART=1
5 years ago
Gone4Dirt
44718cd00f
AP_Mission: Check if failsafes should interupt landing approach
5 years ago
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
5 years ago
Andrew Tridgell
41353d9357
AP_Mission: fixed build when no AP_Parachute
5 years ago
Peter Barker
140df5b93b
AP_Mission: add string for DO_MOUNT_CONTROL
5 years ago
Peter Barker
b0ea662c9b
AP_Mission: consider _INT frames equivalent to non _INT variants
...
AP_Mission: consider TERRAIN_ALT_INT equivalent to TERRAIN_ALT
AP_Mission: consider RELATIVE_ALT_INT equivalent to RELATIVE_ALT
AP_Mission: consider GLOBAL_INT equivalent to GLOBAL
5 years ago
Peter Barker
aae524b9d5
AP_Mission: add sanity check that 16-bit commands aren't stored_in_location
...
This is a rather confusing problem when it happens during development,
so a sanity check is good. What you see in dev is that your latitude
gets corrupted between when you store and retrieve it, with no warnings
that you're doing something wrong.
5 years ago
Peter Barker
405bf0ce7f
AP_Mission: adjust for new vehicle base class
5 years ago
Andrew Tridgell
dcd9003831
Revert "AP_Mission: Better AUTO watchdog restore"
...
This reverts commit d774bf3ea5
.
6 years ago
Jaaaky
d774bf3ea5
AP_Mission: Better AUTO watchdog restore
...
This allows to run any commands following the last nav_waypoint
that may be required or change flight behavior for following wps
6 years ago
Peter Barker
9cf9497552
AP_Mission: mark MIS_TOTAL as internal-use-only
6 years ago
Tom Pittenger
e70ff1b30a
AP_Mission: update NAV_DELAY comment that said wrong ID number
6 years ago
Peter Barker
b860676f12
AP_Mission: examples: var_info is now in GCS_MAVLINK_Parameters
6 years ago
Michael du Breuil
c19e4f2147
AP_Mission: Refactor read_cmd_from_storage for clarity
6 years ago
Andrew Tridgell
5ac2aad2f8
AP_Mission: fixed valgrind error on writing mission items
6 years ago
Peter Barker
1ff3cd442d
AP_Mission: fix example by instantiating a GCS object
6 years ago
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)
6 years ago
Andrew Tridgell
9173989e63
AP_Mission: save waypoint number for watchdog reset
6 years ago
Jaaaky
dd4f7e53c3
AP_Mission: Send jump tracking info to GCS
...
Send jump wp index and jump count to GCS to allow user to track it.
Foramtted as other mission item messages
6 years ago
Peter Barker
c6115f4ff3
AP_Mission: add string for spline waypoint
6 years ago
Pierre Kancir
92be1780ac
AP_Mission: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago
Michael du Breuil
c996dabc12
AP_Mission: Include camera
6 years ago
Peter Barker
30d2a2a4fd
AP_Mission: emit mission descriptions as they are run
...
Also add more mission-type-id to string mappings
Abort in SITL if no description for item
6 years ago
Pierre Kancir
b58ded8e0c
AP_Mission: use void casting to prevent GCC warning on memcopy
6 years ago
Peter Barker
9ab33fd3c4
AP_Mission: use enum class for AltFrame enumeration
6 years ago
Randy Mackay
1e1f14f6e9
AP_Mission: add text string for do-guided-limits
6 years ago
Randy Mackay
f4416cd3f2
AP_Mission: nav-guided-enable command stores location
...
this allows sending the location to an offboard navigation system
also add text string for nav-guided-enable command
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
fa9a460c30
AP_Mission: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
6 years ago
Peter Barker
25282c2989
AP_Mission: rearrange for early-exit if command not found for index
6 years ago
Peter Barker
3c3cda81e9
AP_Mission: remove redundant check
...
get_next_do_command does this check
6 years ago
Peter Barker
f5d50935fd
AP_Mission: scope variables more tightly
6 years ago
Peter Barker
7da35e9d08
AP_Mission: change while loop out for for loop
6 years ago
Peter Barker
c594e51922
AP_Mission: limit memcpy to constant 12 bytes
...
... essentially to make static analyzers happy
6 years ago
Peter Barker
9cd881b56c
AP_Mission: move responsibility for parachute deployment up
6 years ago
Peter Barker
402be4eaca
AP_Mission: const writing of commands to storage
6 years ago
Peter Barker
2fa0b61f8b
AP_Math: update example/test for Location_Class merge
6 years ago
Peter Barker
b12dc3cde7
AP_Mission: adjust for Location_Class and Location unification
6 years ago
Peter Barker
1b2ac38691
AP_Mission: adjust for Location no longer being packed
6 years ago
Michael du Breuil
fccf23dff2
AP_Mission: Add a helper to check if a mission contains an item
6 years ago
Peter Barker
59497c4635
AP_Mission: remove unused copy_alt variable
6 years ago