Commit Graph

43 Commits

Author SHA1 Message Date
Peter Barker 7d426f4741 AP_Mission: do not use float functions on integers
pitch is int8_t, yaw is int16_t
2024-11-12 11:22:30 +11: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
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 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
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 dd2ce88152 AP_Mission: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10: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
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
Peter Barker b9d68355da AP_Mission: replace check_instance with get_instance 2023-03-03 17:35:39 +11:00
Peter Barker aea7b0a097 AP_Mission: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Peter Barker 59b82507ff AP_Mission: add and use AP_CAMERA_ENABLED 2022-09-21 11:58:38 +10:00
murata f7b8be672b AP_Mission: Share the method RETURN 2022-09-15 16:26:24 +10:00
Randy Mackay 152ef7f78f AP_Mission: do-gimbal-manager-pitchyaw command supports multiple gimbals 2022-09-07 16:09:07 +09:00
Randy Mackay c22d8b379f AP_Mission: do_gimbal_manager_pitchyaw supports bf/ef angles and rates
also minor bug fix so verify DO_GIMBAL_MANAGER_PITCHYAW returns true
2022-06-29 10:56:48 +09:00
Randy Mackay 589102b7d7 AP_Mission: add DO_GIMBAL_MANAGER_PITCHYAW support 2022-06-15 09:07:14 +09:00
Peter Barker df60565769 AP_Mission: stop libraries including AP_Logger.h in .h files
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h

This necessitated moving The PID_Info structure out of AP_Logger's
namespace.  This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!

There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Peter Barker ff58afd4a2 AP_Mission: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00
Peter Barker 6fef352b8f AP_Mission: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Peter Barker ba970f138d AP_Mission: log auxillary function invocations 2021-04-29 13:00:40 +10:00
Iampete1 849ad8c6de AP_Mission: support MAV_CMD_DO_SEND_SCRIPT_MESSAGE 2021-03-31 19:23:13 +11:00
Peter Barker d4a0222f76 AP_Mission: allow an auxillary function to be triggered as a DO command 2021-03-31 11:36:09 +11:00
Peter Barker c3b005e1d9 AP_Mission: add mission command to turn sprayer on and off 2021-02-16 22:36:43 +11:00
murata de9382b0f4 AP_Mission: Reflecting the result of the process 2021-02-03 22:15:02 +11: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
Andrew Tridgell 41353d9357 AP_Mission: fixed build when no AP_Parachute 2020-01-18 13:48:48 +11:00
Michael du Breuil c996dabc12 AP_Mission: Include camera 2019-04-05 20:12:53 +11:00
Peter Barker 9cd881b56c AP_Mission: move responsibility for parachute deployment up 2019-02-13 09:25:27 +09:00
Peter Barker 1e39c17908 AP_Mission: return true if cmd-do was handled, false otherwise 2018-10-30 15:37:18 +11: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