Commit Graph

7 Commits

Author SHA1 Message Date
Peter Barker 277a7c1bec AR_WPNav: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
Randy Mackay 607fa40431 AR_WPNav: send next destination to OA 2023-12-28 08:45:23 +09:00
Peter Barker d1ad9ccfbb AR_WPNav: correct missing include 2023-12-08 22:53:41 +11:00
Peter Barker 517e42c678 AR_WPNav: avoid using struct Location
clang reports this could be a problem when compiling under some EABIs.  Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
Peter Barker 224c32edf0 AR_WPNav: stop libraries including AP_Logger.h in .h files
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h

This necessitated moving The PID_Info structure out of AP_Logger's
namespace.  This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!

There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Randy Mackay 0bcae12ceb AR_WPNav_OA: use wpnav's expect fast updates 2022-03-30 15:34:14 +09:00
Randy Mackay 6515e71fc1 AR_WPNav: move OA path planning handling into a separate class 2022-03-30 15:34:14 +09:00