Commit Graph

13 Commits

Author SHA1 Message Date
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