Commit Graph

333 Commits

Author SHA1 Message Date
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
Tom Pittenger 28f4ac7bbc AP_Mission: add Jump_TAG support 2023-02-22 05:33:38 -08:00
murata b31883a8a4 AP_Mission: Match variable types 2023-02-07 08:56:28 +09:00
Peter Barker 03f5c321b0 AP_Mission: avoid using struct Location
clang reports this could be a problem when compiling under some EABIs.  Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
murata ca8e60a590 AP_Mission: Initialize return variables 2023-02-03 07:14:26 +11:00
Henry Wurzburg 8865d79015 AP_Mission: add error check to mission_load.lua 2023-01-17 10:24:08 +11:00
Tom Pittenger af02cef68d AP_Mission: DO_LAND_START to consider altitude (3D distance) 2022-11-15 10:42:01 +11:00
Peter Barker fb1266f775 AP_Mission: include required AP_Vehicle_Type header 2022-11-02 18:35:48 +11:00
Andrew Tridgell 41bc08e132 AP_Mission: save flash space when scripting not enabled 2022-10-23 12:14:14 +11:00
Andrew Tridgell d832b41262 AP_Mission: auto-convert NAV_SCRIPT_TIME from old to new format
this mechanism can be used for other structures in the future
2022-10-23 12:14:14 +11:00
Andrew Tridgell cafed85872 AP_Mission: fixed climb_rate in ATTITUDE_TIME
need to stay within 10 byte limit
2022-10-23 12:14:14 +11:00
Andrew Tridgell cc39bd08be AP_Mission: use Float16_t for NAV_SCRIPT_TIME 2022-10-23 12:14:14 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker aea7b0a097 AP_Mission: add AP_GRIPPER_ENABLED 2022-10-04 10:58:34 +11:00
Bob Long 98b65299f6 AP_Mission: initialize jump-tracking in init() 2022-09-27 10:02:04 +10:00
Peter Barker 5e733fe849 AP_Mission: zero frame field when filling mavlink_int from mavlink_cmd
Callers should be filling their bits in after calling this.
2022-09-25 19:25:53 +10:00
Peter Barker 884f4dd317 Revert "AP_Mission: prevent use of uninitialised stack data"
This reverts commit a785ac84a3.
2022-09-25 19:25:53 +10:00
Peter Barker a785ac84a3 AP_Mission: prevent use of uninitialised stack data
Well, probably not initialised, but certainly holding values we don't want
2022-09-21 22:38:31 +10: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
Peter Barker 6756c295df AP_Mission: add AP_Mission_config.h 2022-08-18 22:49:10 +10:00
Peter Barker f9b409ce01 AP_Mission: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED 2022-08-18 22:49:10 +10:00
Michael du Breuil f5ca2c9e7a AP_Mission: Support storing VTOL_LAND options 2022-08-15 17:05:00 -07:00
Peter Barker 5b3a6daa7b AP_Mission: rename contains_terrain_relative->contains_terrain_alt_items
can we rename "constains_terrain_relative" to "contains_terrain_alt"? No big deal of course but "terrain_alt" is what we use in Copter so it's more likely to show up in searches.
2022-08-10 18:04:22 +10:00
Peter Barker c2d91a3bdb AP_Mission: mark mission as changed upon mission clear 2022-08-09 14:31:14 +10:00
Peter Barker 50fb56a74f AP_Mission: memoise result of contains_terrain_relative
527 items takes ~2200us on CubeOrange which is way too long
2022-08-09 14:31:14 +10:00
Andrew Tridgell bad0120d3c AP_Mission: added contains_terrain_relative()
used in plane arming check
2022-08-09 14:31:14 +10:00
Andrew Tridgell 511b0f69f2 AP_Mission: skip aux function in determining if a takeoff
and reset landing sequenece flag on a takeoff command
2022-07-12 10:34:26 +10: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
Randy Mackay 6ac864ec2f AP_Mission: support NAV_ATTITUDE_TIME command 2022-05-31 07:50:16 +09:00
Andrew Tridgell f683461e8c AP_Mission: allow NAV_VTOL_TAKEOFF in is_takoff_next() 2022-05-18 06:43:16 +10:00
Peter Barker 087d5ec6c7 AP_Mission: support *10 multipler when storing/retrieving radius in NAV_LOITER_TURNS 2022-05-11 17:40:35 +10:00
Andrew Tridgell fb63ad6b72 AP_Mission: improved handling of large LOITER_TURNS
instead of wrapping we should use MIN with 255, which is closer to
what was requested
2022-05-11 07:51:22 +10:00
Peter Barker 445b10d8b3 AP_Mission: tidy includes 2022-05-03 09:14:58 +10: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
murata db7fe2ba4e AP_Mission: Change from division to multiplication 2022-03-16 18:41:52 +11:00
Peter Barker f51914ed25 AP_Mission: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00