Peter Barker
9d9da4b8f2
Sub: wrap_180_cd no longer returns floats for integer arguments
2020-02-05 10:04:08 +11: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
Jacob Walser
4112fd1316
Sub: Remove mode header
2017-02-21 11:26:14 +11:00
Jacob Walser
5233b25910
Sub: Format all C++ with Tools/CodeStyle/astylerc
2017-02-21 11:26:14 +11:00
Jacob Walser
0d575681de
Sub: Remove RTL
2017-02-21 11:26:14 +11:00
Jacob Walser
7b5d209aba
Sub: Remove parachute
2017-02-21 11:26:14 +11:00
Jacob Walser
a430f5a7ae
Sub: Remove land/landed code
2017-02-21 11:26:14 +11:00
Jacob Walser
b6d76912cf
Sub: Remove takeoff code
2017-02-21 11:26:14 +11:00
Jacob Walser
456f5e2e93
Sub: Update Sub to match relevant Copter and Library developments
2017-02-21 11:26:14 +11:00
Jacob Walser
dcc96a5705
Sub: First attempts at AUTO mode
2017-02-21 11:26:14 +11:00
Jacob Walser
e2a7ba5b0c
Sub: replace land with surface mode
2017-02-21 11:26:14 +11:00
Rustom Jehangir
26d0a922c1
Sub: Changes to match recent Copter updates.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
e857f20784
Sub: Changes to match Copter
2017-02-21 11:26:14 +11:00
Rustom Jehangir
617b439d0e
Sub: Match Copter changes
2017-02-21 11:26:14 +11:00
Rustom Jehangir
c1f05b9e25
Sub: Match copter mode change stuff
2017-02-21 11:26:14 +11:00
Rustom Jehangir
de669c1d41
Sub: Change M_PI to match Copter.
2017-02-21 11:26:14 +11:00
Rustom Jehangir
c15d7299fa
Sub: Sub changes to match newest Copter changes
2017-02-21 11:26:14 +11:00
Rustom Jehangir
83ff3931b8
Sub: Refactor "Copter" to "Sub".
2017-02-21 11:26:14 +11:00
Rustom Jehangir
3da7c95e9b
Sub: New vehicle type, derived from ArduCopter.
2017-02-21 11:26:14 +11:00