Commit Graph

36 Commits

Author SHA1 Message Date
Peter Barker 5bb3e0aa18 AP_SmartRTL: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Peter Barker 1bf85a0a15 AP_SmartRTL: correct compilation when GCS library not available 2023-12-12 11:41:47 +11:00
Iampete1 d3d606ab69 AP_SmartRTL: fix disable if second point fails to add 2023-09-19 08:01:47 +09:00
Iampete1 0cb825e64d AP_SmartRTL: params always use set method 2022-08-03 13:43:48 +01:00
Peter Barker e1162f0a66 AP_SmartRTL: rename for AHRS restructuring 2021-07-21 21:01:39 +10:00
Randy Mackay 193799346c AP_SmartRTL: peek_point method peeks at next point
includes peek point takes semaphore
2021-04-03 12:07:59 +09:00
Gone4Dirt d928b80629 AP_SmartRTL: Add option to ignore pilot yaw 2021-02-09 19:39:17 +09:00
Patrick José Pereira 0da2d9f8eb AP_SmartRTL: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Andrew Tridgell 1000371d8a AP_SmartRTL: fixed build warning on gcc9
this example produces a slightly oversize frame
2020-09-22 08:07:23 +10:00
Peter Barker b30004c0a2 AP_SmartRTL: EKF objects have moved into AP_AHRS_NavEKF 2020-01-21 11:53:18 +11:00
Peter Barker 8281990003 AP_SmartRTL: NavEKF constructors no longer take rangefinder 2019-12-11 08:09:01 +11:00
Randy Mackay db7836ad48 AP_SmartRTL: fixup compile error
fix typo introduced by me attempting a minor fixup before merging
2019-10-04 10:01:49 +09:00
Henry Wurzburg 13e66e9f7c AP_SmartRTL: give warning buffer is about to fill-up 2019-10-04 08:57:30 +09:00
Peter Barker 21d6f81a12 AP_SmartRTL: rangefinder no longer takes SerialManager in constructor 2019-07-16 09:29:48 +10:00
Peter Barker e166286ff5 AP_SmartRTL: Bitmask is now a template 2019-04-16 15:12:07 +10:00
Michael du Breuil 6105d31c7c AP_SmartRTL: fix rangefinder initilization 2019-04-06 09:15:22 +11:00
Tom Pittenger 15b89f37ef AP_SmartRTL: rename dataflash to logger 2019-03-28 16:40:57 +11:00
Peter Barker 6dbe662941 AP_SmartRTL: clean includes 2019-02-19 09:16:26 +11:00
Peter Barker 7d07983576 AP_SmartRTL: remove pointless includes 2019-02-19 09:16:26 +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
Michael du Breuil 7c2a6aed2d AP_SmartRTL: Remove unneeded AP_Buffer include 2018-12-31 11:41:43 +09:00
Randy Mackay d3bea0c176 AP_SmartRTL: increase default pts to 300 2018-12-21 09:31:03 +09:00
Peter Barker d9d9a298bb AP_SmartRTL: stop constructing/copying Bitmask 2018-11-05 12:17:55 +09:00
Andrew Tridgell 046bcfa0a9 AP_SmartRTL: use WITH_SEMAPHORE()
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
Peter Barker ceaadc4cce AP_SmartRTL: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
Andrew Tridgell 930d22daf9 AP_SmartRTL: fixed build warning 2018-05-07 11:43:23 +10:00
Peter Barker 3781d2f2eb AP_SmartRTL: use ahrs singleton 2018-04-02 17:16:02 +01:00
Lucas De Marchi 43750d6f77 AP_SmartRTL: use ins singleton 2018-03-16 00:37:35 -07:00
Peter Barker a40943038e AP_SmartRTL: use baro singleton 2018-03-08 21:20:05 -08:00
Dylan Herman 85e1f9f9f6 AP_SmartRTL: attempts to set home in update
update will continuously attempt to set SmartRTL home as long as
position is ok and home has not be set. Updated examples to use set_home.
2018-01-17 11:03:33 +09:00
Peter Barker a35e86c2fd AP_SmartRTL: AP_AHRS no longer requires GPS in constructor 2017-12-27 00:58:02 +00:00
Andrew Tridgell 003851a5c1 AP_SmartRTL: removed create() method for objects
See discussion here:

  https://github.com/ArduPilot/ardupilot/issues/7331

we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach

Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Lucas De Marchi 903ef4d065 AP_SmartRTL: update example to new API and fix object copy
ahrs should be a reference to DummyVehicle::ahrs, otherwise it will
act on a different object.

This also corrects the member initialization order: only pass a copy
or reference of an object to a constructor if it has already been
initialized.
2017-09-26 03:01:21 +01:00
Randy Mackay 6d15a72f3a AP_SmartRTL: complete rename to SmartRTL 2017-09-15 08:58:14 +09:00
squilter cb0f50a1c8 AP_SmartRTL: renamed from SafeRTL 2017-09-09 14:05:41 +09:00