Willian Galvani
0de7a33d5f
Sub: simplify setting-home-from-ekf-origin logic
2026-01-26 14:52:00 -03:00
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
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
Peter Barker
7e3233f8e8
ArduSub: remove logging of first home location into CMD message set
2023-01-03 11:22:18 +11:00
Peter Barker
abbbfc0e85
ArduSub: move logging of LogEvent::SET_HOME up
2022-02-08 11:04:26 +11:00
Peter Barker
4640ef9a66
ArduSub: rename AP_AHRS::get_position to get_location
2022-01-25 10:47:22 +11:00
Peter Barker
80a56a5fdf
ArduSub: eliminate AP::ahrs().get_location
2021-08-31 09:47:31 +10:00
Andrew Tridgell
c059f8c044
Sub: fixes for use of longitude_scale()
2021-07-10 07:20:41 +10:00
Peter Barker
3819366a9e
Sub: cope with change in namespace of LogEvent enum
...
Also eliminate the Log_Write_Event wrappers
2019-11-05 08:19:26 +08:00
Michael du Breuil
bbcb976e73
Sub: Reduce dependency on inertial nav
2019-07-16 12:11:42 +09:00
Peter Barker
d7735a316a
Sub: remove unused calculation of longitude scale
2019-03-12 10:11:12 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
3fd5e05601
Sub: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Peter Barker
db362eaa13
Sub: remove redundant home-setting sanity checks
2019-02-15 08:28:45 +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
da5ed06714
Sub: leave AHRS to log and notify home changes
2018-10-16 10:55:13 +11:00
Patrick José Pereira
90601c80e9
Sub: Simplify some returns
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com >
2018-06-29 15:51:30 -04: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
Peter Barker
69d8980608
Sub: split home-set and home-locked state
2018-05-29 14:38:45 +10:00
Peter Barker
a81b4266fe
Sub: remove arguments to send_home and send_ekf_origin
2018-05-17 20:42:36 +10:00
Peter Barker
631e967df3
Sub: handle setting of ekf origin in GCS_MAVLink
2018-05-17 10:13:42 +10:00
Peter Barker
9a73f0c260
Sub: move Log_Write_Home_And_Origin into AP_AHRS
2018-05-17 10:13:42 +10:00
Peter Barker
3af4806d38
Sub: move home state into AP_AHRS
2018-03-19 10:32:37 +09:00
Randy Mackay
a477ef7cd6
Sub: support SET_GPS_GLOBAL_ORIGIN message
2017-09-19 10:30:15 +09:00
Peter Barker
e9845fd593
Sub: eliminate global static GCS_MAVLINK::send_home_all
2017-07-11 23:48:39 +01:00
Randy Mackay
5936fc1ff8
Sub: compass set-initial-location uses ahrs location
...
Previously it could attempt to use a gps location even if gps was not being used
Also compass-accumulate moved to sensors.cpp
2017-06-07 13:01:38 +09: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
fc9eb797be
Sub: Fix redundant call
2017-04-06 14:11:12 -04: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
3da4dc7089
Sub: home altitude is always 0, referenced from water's surface
2017-02-21 11:26:14 +11:00
Rustom Jehangir
9198b8cb29
Sub: Changes to match recent Copter updates.
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