Commit Graph

67 Commits

Author SHA1 Message Date
Clyde McQueen 858376bd86 Sub: support ABOVE_TERRAIN frame in auto 2024-07-10 11:35:18 -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
Randy Mackay 7bae493138 Sub: consolidate set_home functions
added lock argument instead of having twice as many functions
no functional change
2017-06-07 13:01:38 +09:00
Jacob Walser 004a7aceb7 Sub: Ignore mission commands with unsupported altitude values 2017-04-17 11:25:41 -04:00
Jacob Walser c599ba8c97 Sub: Disable Camera object by default and rework guards
Camera object hasn't been tested on Sub yet
2017-04-14 13:26:37 -04:00
Jacob Walser 3e471e808a Sub: Refactor methods in navigation.cpp 2017-04-07 14:47:48 -04:00
Jacob Walser 0966dcb665 Sub: Implement MAV_CMD_NAV_RETURN_TO_LAUNCH 2017-03-22 15:53:38 -04:00
Jacob Walser 93c6f64a91 Sub: Clean out/remove references to old landing code 2017-03-10 15:46:30 +11:00
Jacob Walser 9f5605ff57 Sub: Implement DO_NAV_LAND commands.
Auto return to surface in analagous manner to Copter's auto land.
2017-03-10 15:46:30 +11:00
Jacob Walser 1990aa7829 Sub: Update stale references to Copter 2017-02-21 11:26:14 +11:00