Commit Graph

7 Commits

Author SHA1 Message Date
Peter Barker 8801b78a9c AP_Winch: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Peter Barker 8ccd0ccd3a AP_Winch: add and use AP_WINCH_ENABLED 2023-03-03 20:59:06 +11:00
Peter Barker a963826ba0 AP_Winch: tidy includes of SRV_Channel.h 2023-01-25 22:30:55 +11:00
Peter Barker 6a0250bc85 AP_Winch: 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
murata 7897807a78 AP_Winch: Change from division to multiplication 2022-03-16 18:41:52 +11:00
Iampete1 6e4ae3898d AP_Winch: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Randy Mackay 6bc2bea329 AP_Winch: rename Servo to PWM 2020-08-07 21:55:07 +09:00