Peter Barker
340205cbc7
ArduSub: avoid use of Location .alt field
...
various changes to avoid use of the Location .alt field, which should be private.
Introduces several new helper functions on Location to help with this
2025-07-22 17:46:53 +10:00
muramura
09d8ad60ca
Sub: Add units to the method that calculates the distance meter between WAYPOINTs
2025-05-12 11:37:04 +09:00
Leonard Hall
a151aadd3e
Sub: add units and frames to AC_WPNav methods
...
Sub
2025-05-02 21:47:07 +10:00
Peter Barker
427d1412b9
ArduSub: add _cm to get_vector_from_origin_NEU
...
... and the _NE equivalent.
Moves us closer to using metres in interfaces. Several places already *0.01 the result of these methods
2025-04-29 08:29:41 +09:00
Randy Mackay
a4a718d031
Sub: add do-set-roi-location and do-set-roi-none support
2025-03-25 15:24:09 +09:00
Peter Barker
48c9cd6eae
ArduSub: adjust for AP_Mission logging mission-item-starts
2024-10-01 10:19:29 +10:00
Peter Barker
1f0c31bcef
Sub: remove ENABLE/DISABLE defines, use 0/1 instead
...
same as Plane, Rover, Sub, Tracker
2024-09-02 20:05:14 -03:00
Peter Barker
3443e1c12f
ArduSub: remove far_from_EKF_origin sanity checks
...
some flawed implementations, and the extreme-ardupilot project means these checks are no longer required
2024-04-10 17:17:12 +10:00
Clyde McQueen
53db811626
Sub: support ABOVE_TERRAIN frame in auto
2024-03-11 13:38:38 -03:00
J.R. Bronkar
6ffdfd9f48
ArduSub: 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
852944a1b1
Sub: correct compilation when HAL_LOGGING_ENABLED is false
2024-01-17 18:25:55 +11:00
Peter Barker
63d9bcd62c
ArduSub: allow for compilation without AP_RTC_ENABLED
2023-10-11 19:17:27 +11:00
Willian Galvani
9b70ac1286
Sub: big mode refactor
2023-07-13 14:56:40 -03:00
Randy Mackay
a6afff837d
Sub: remove unused do-control-video
2023-03-09 12:24:05 +11:00
rishabsingh3003
34702ed986
Sub: Obey loiter_ccw flag for loiter turns
2023-02-15 19:14:43 +11:00
Randy Mackay
d0c489a0be
Sub: calls to mount.set_angle_target set earth-frame or body-frame
...
this is a non-functional change
2022-06-29 10:56:48 +09:00
Peter Barker
317457ec1a
ArduSub: support *10 multipler when storing/retrieving radius in NAV_LOITER_TURNS
2022-05-11 17:40:35 +10:00
Joshua Henderson
fc5ecfcafd
Sub: remove position_vector.cpp
2022-02-08 12:14:10 +11:00
Josh Henderson
bdac4a2416
Sub: INAV rename for neu & cm/cms
2021-11-30 10:08:07 +11:00
Josh Henderson
17243b5630
Sub: inav use _xy()
2021-11-30 10:08:07 +11:00
Andrew Tridgell
18dd373ff5
Sub: use cleaned up APIs
2021-06-24 20:28:45 +10:00
Randy Mackay
afa59b9a60
Sub: integrate s-curves, remove spline support
2021-04-03 12:07:59 +09:00
Josh Henderson
f7b39b19f0
ArduSub: make Location(Vector3f) require ALTFRAME
2021-03-30 08:56:35 +09:00
Andy Piper
07df203d19
Sub: make mount/gimbal inclusion configurable per-board
2020-08-04 09:18:14 +10:00
Michael du Breuil
3f94f0d517
Sub: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08:00
Peter Barker
d32a7b3a29
Sub: wrap_180_cd no longer returns floats for integer arguments
2019-09-18 12:57:02 +10:00
Peter Barker
c5333c2765
Sub: fix format-string compilation warning
...
../../ArduSub/commands_logic.cpp: In member function 'void Sub::do_nav_delay(const AP_Mission::Mission_Command&)':
../../ArduSub/commands_logic.cpp:485:84: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
gcs().send_text(MAV_SEVERITY_INFO, "Delaying %u sec",nav_delay_time_max_ms/1000);
^
2019-08-27 09:41:58 +10:00
Tom Pittenger
018e766a3f
Sub: NAV_Delay variable timers to be all unsigned and labeled as _ms
2019-08-19 15:24:06 -07:00
Peter Barker
706a75ad03
Sub: move Log_Write_Error into library
2019-03-27 12:36:40 +11:00
Peter Barker
eb7cf9843e
Sub: use enum class for AltFrame enumeration
2019-03-19 10:31:18 +11:00
Peter Barker
8937ef3190
Sub: make setting of home boolean in preparation for sanity checks
2019-02-15 08:28:45 +11:00
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
2019-01-18 18:08:20 +11:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Peter Barker
d8e90ded90
Sub: adjust for Location_Class and Location unification
2019-01-16 11:45:29 +11:00
Peter Barker
b4c65dde92
Sub: adjust for Location_Class and Location unification
2019-01-16 11:45:29 +11:00
Peter Barker
d690baecf9
Sub: let AP_Mission handle common camera commands
2018-10-30 15:37:18 +11:00
Peter Barker
5a8a3963d4
Sub: move servorelayevents mission handling into AP_Mission
2018-10-30 15:37:18 +11:00
Peter Barker
e79d107761
Sub: mission library handles gripper
2018-10-30 15:37:18 +11:00
Michael du Breuil
18512eebbb
Sub: Allow starting mission commands to fail
2018-09-11 06:42:00 +10:00
Patrick José Pereira
d14b37e89c
Sub: Change from labs to abs for floats
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2018-06-21 17:24:14 +01:00
Patrick José Pereira
cbef5db174
Sub: Simplify return logic
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2018-06-21 17:24:14 +01:00
Peter Barker
4cc236b8a7
Sub: use AP_RTC
...
Sub: AP_GPS now sets the system time directly
Sub: use AP_RTC for delays in missions
2018-06-15 08:01:22 +10:00
Patrick José Pereira
4de371743e
Sub: Move from millis() to AP_HAL::millis()
...
AP_HAL::millis() is a more common style around the rest of the project
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2018-06-12 17:27:56 -04:00
Patrick José Pereira
5a8d04e8f5
Sub: Simplify some returns logic
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2018-06-08 11:25:51 -04:00
murata
5da13774d5
Sub: Adjust to the defined value.
2018-03-02 09:27:43 +09:00
Patrick José Pereira
1598a97734
Sub: Solve some typos
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2017-10-19 06:27:32 -07:00
Peter Barker
b299772a75
Sub: camera is responsible for taking distance-based-images and logging
2017-07-28 14:27:53 +01:00
Peter Barker
9f73d2f9d8
Sub: eliminate gcs_send_mission_item_reached wrapper
2017-07-11 23:45:16 +01:00
Peter Barker
f82fa22833
Sub: eliminate gcs_end_message wrapper
2017-07-11 23:45:16 +01:00
Peter Barker
279072cf25
Sub: use send_text method on the GCS singleton
2017-07-09 17:17:29 -04:00