Commit Graph

13 Commits

Author SHA1 Message Date
Andy Piper 0cd3636dfb AR_Motors: make sure ESC type is initialized early 2022-05-25 17:06:08 +10:00
Iampete1 117b67c9e2 AR_MotorsUGV: convert to 32 bit motor mask 2022-05-22 12:07:37 +10:00
Peter Barker df91effa4e AR_Motors: 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 82afaf70f6 AR_Motors: Change from division to multiplication 2022-03-16 18:41:52 +11:00
Randy Mackay 4a2af10f96 AR_Motors: remove redundant set of throttle limit flags
set_limits_from_input is called lower in the method and will set the limits correctly
2022-02-15 08:02:04 +09:00
Randy Mackay 27a6cdd989 AR_Motors: minor format fix 2022-02-09 09:15:41 +11:00
Randy Mackay e3baeac48c AR_Motors: fix limits sometimes being overwritten 2022-02-09 09:15:41 +11:00
Randy Mackay 64a1ab9a93 AR_Motors: skid-steering vehicle limit fix
we should set the steering and throttle limits flags if we are not getting the desired output
2022-02-09 09:15:41 +11:00
Iampete1 b472300191 AP_MotorsUGV: make pwm_type private and add is_digital_pwm_type method 2021-10-06 18:59:57 +11:00
Iampete1 934a4e26c9 AR_Motors: re-work omni output to scale evenly at saturation 2021-09-16 08:48:47 +09:00
Iampete1 950dcf9242 AP_MotorsUGV: ignore servo reverse when setting trim for brushed with relay 2021-09-15 18:59:07 +09:00
Iampete1 3dca9b4534 AR_Motors: stop setting safety limit 2021-09-14 09:23:02 +10:00
Iampete1 e75d3b68e6 AP_Motors: move AP_MotorsUGV to new AR_Motors directory 2021-07-20 10:48:01 +09:00