Peter Barker
163f49827f
AP_Mission: split logging of mission-upload vs mission-execution
2024-10-01 10:19:29 +10:00
Peter Barker
1d947396b3
AP_Mission: move Mission log structures into Mission library
2024-10-01 10:19:29 +10:00
muramura
0cb49559e1
AP_Mission: Change the IF statement to a SWITCH statement
2024-09-27 21:30:43 +10:00
muramura
a9a2696368
AP_Mission: Change the magic number to a defined value
2024-09-12 14:23:10 +10:00
Peter Barker
94062fce5c
AP_Mission: do not adjust ret_packet on get_item failure
...
do not modify the return packet value at all upon failure, rather than indicating invalidity with a flag value. We return boolean for a reason.
2024-09-06 08:48:12 +10:00
Peter Barker
317fab2f19
AP_Mission: add and use an option_is_set method
2024-07-29 10:37:52 +10:00
muramura
9f2da4a763
AP_Mission: Change division to multiplication
2024-07-25 11:33:55 +10:00
Andy Piper
55075961b2
AP_Mission: address minor review comments
2024-07-24 08:24:06 +10:00
Andy Piper
255fac215f
AP_Mission: generic fence handling in missions
2024-07-24 08:24:06 +10:00
Andy Piper
95b39f64e3
AP_Mission: add comment about new fence API
2024-07-24 08:24:06 +10:00
James O'Shannessy
9924462618
AP_Mission: Allow Param4 to be uploaded with NaN
...
By default, QGroundControl will attempt to upload Loiter Unlimited with a NaN in param4.
Given this field could be NaN, we allow it through the parser.
See: https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_LOITER_UNLIM
2024-07-09 22:39:57 +10:00
robot-to-society
b86094978d
Mission: add is_resume method
2024-06-19 17:12:17 +10:00
Peter Barker
51dc35f6ff
AP_Mission: emit jump count even if no limit
...
previously if there was a jump limit we informed the user we were jumping and provided the current count and the limit.
This changes things so that if there's no limit we emit the same message, with the count and "unlimited" in place of the limit number
2024-05-08 17:56:56 +10:00
Iampete1
1cdff47246
AP_Mission: add support for DO_RETURN_PATH_START
2024-04-30 08:03:39 +09:00
Iampete1
afe257a8db
AP_Mission: take location in `get_landing_sequence_start`, `jump_to_landing_sequence`, `jump_to_abort_landing_sequence`, and `is_best_land_sequence`, add helpers for scripting
2024-04-02 11:11:59 +11:00
Randy Mackay
3a570943d5
AP_Mission: support set-camera-source
2024-03-25 09:19:18 +09:00
Peter Barker
b41d82c989
AP_Mission: move gripper up to AP_Vehicle
...
also make the singleton return a reference rather than a pointer
2024-02-21 21:05:12 +11:00
Peter Barker
29cd0ab179
AP_Mission: remove AP_MISSION_ENABLED special-cases
...
these are static methods which are called when they really shouldn't be
2024-02-14 14:47:03 +11:00
Peter Barker
475ef8a06d
AP_Mission: fix use of uninitialised stack data
...
loading missions via FTP ends up using uninitialised stack data when storing missions.
2024-01-24 09:04:28 +11:00
J.R. Bronkar
784a21bcab
AP_Mission: fractional Loiter Turn Support
...
Adds special storage handling for loiter turns. Fractional Loiter
Turns 0<N<1 are stored by multiplying the turn number by 256, then
dividing that number by 256 on retrieval.
2024-01-22 20:27:20 -08:00
Peter Barker
b94738a864
AP_Mission: add ASSERT_STORAGE_SIZE macro
...
saves havin gto name the dummy variable yourself
2024-01-22 22:44:05 +11:00
Peter Barker
368593c2c6
AP_Mission: correct compilation when AP_MISSION_ENABLED is false
2024-01-03 16:16:47 +11:00
Peter Barker
f6bff8c19e
AP_Mission: correct compilation when RC_Channel not enabled
2023-12-12 14:52:36 +11:00
Nick Exton
a29cd0321b
AP_Mission: Add is_valid_index() function
2023-11-14 10:22:45 +11:00
Nick Exton
12642b5793
AP_Mission: Remove unused rewind param from set_current_cmd() (NFC)
2023-11-14 10:22:45 +11:00
Nicholas Ionata
8b4bc0e077
AP_Mission: correct incorrect comment about method reutrn value
...
The comment for the AP_Mission::clear method had an incorrect claim as to the return value
2023-10-28 10:14:50 +02:00
Peter Barker
5a65632a2d
AP_Mission: allow payload place to be compiled out of code
2023-10-27 14:15:53 +11:00
Michael du Breuil
3a711b49e2
AP_Mission: Support disarmed starts in engine control
2023-10-24 14:11:39 -07:00
Randy Mackay
200bc6c849
AP_Mission: image-stop-capture fix for instance
2023-09-26 10:53:22 +10:00
Randy Mackay
b08fa29574
AP_Mission: start-image-capture with all zeros takes single pic
...
fails if no cameras configured
2023-09-26 10:53:22 +10:00
Asif Khan
844d552b22
AP_Mission: add MAV_CMD_IMAGE_STOP_CAPTURE support
...
Co-authored-by: Zachary Zalass <zachzalass@gmail.com>
2023-09-21 21:05:01 +10:00
Asif Khan
518feedf41
AP_Mission: add MAV_CMD_START_CAPTURE support in mission
2023-09-21 21:05:01 +10:00
Peter Barker
fcc2b503e5
AP_Mission: remove unused method mavlink_cmd_long_to_mission_cmd
2023-09-12 09:22:36 +10:00
Peter Barker
dd2ce88152
AP_Mission: allow more libraries to compile with no HAL_GCS_ENABLED
2023-09-05 22:23:51 +10:00
Tom Pittenger
932ed9ff28
AP_Mission: show tag or jump index on WP change
2023-08-14 16:55:04 -07:00
Andy Piper
5d260f1f42
AP_Mission: use fabsF where appropriate
2023-07-18 11:06:02 +10:00
Peter Barker
958622523f
AP_Mission: add and use SetFocusResult
2023-07-05 16:28:42 +10:00
Peter Barker
e423173848
AP_Mission: add option to disable relay and servorelay libraries
2023-06-20 09:36:39 +10:00
Randy Mackay
020a505d78
AP_Mount: set_focus replaces set_manual/auto_focus
2023-04-26 22:55:47 +10:00
Randy Mackay
14ef3870bc
AP_Mount: integrate ZoomType def move out of AP_Camera
2023-04-19 17:31:46 +10:00
Randy Mackay
ddaff85166
AP_Mission: set_zoom replaces set_zoom_step
2023-04-19 17:31:46 +10:00
Henry Wurzburg
67f19c6ddb
AP_Mission: allow clearing mission in AUTO when disarmed
2023-03-28 09:43:42 +11:00
Peter Barker
8e15b2f349
AP_Mission: correct missing transitive include problem
2023-03-19 09:08:41 +11:00
Randy Mackay
5b96998e62
AP_Mission: add camera zoom and focus support
...
also image-start-capture, video-start-capture, video-stop-capture
2023-03-16 07:47:01 +09:00
Tom Pittenger
d76901bd41
AP_Mission: jumptag optimize for sd card
2023-03-11 14:02:59 +11:00
Andrew Tridgell
9cef639a97
AP_Mission: support storage on microSD using mission.stg
2023-03-10 14:13:55 +11:00
Randy Mackay
a56b474b4a
AP_Mission: remove unused do-control-video
2023-03-09 12:24:05 +11:00
Randy Mackay
a0723e6ef5
AP_Mission: fix ap-camera-enabled fallthrough
2023-03-09 12:24:05 +11:00
Peter Barker
b9d68355da
AP_Mission: replace check_instance with get_instance
2023-03-03 17:35:39 +11:00
Tom Pittenger
7f5222eac2
AP_Mission: add Jump_TAG hook for scripting
2023-02-28 12:00:18 +11:00