Commit Graph

28 Commits

Author SHA1 Message Date
Peter Barker c0b905f6e6 AR_Motors: use GCS_SEND_TEXT rather than gcs().send_text
Co-authored-by: muramura <ma2maru@gmail.com>
2024-08-07 18:33:16 +10:00
Peter Barker 70b23733ac AR_Motors: make AP_Motors::PWMType enum class
Co-authored-by: muramura <ma2maru@gmail.com>
2024-08-06 18:15:35 +10:00
Rhys Mainwaring 4de8e04679 AR_Motors: add frame type Omni3Mecanum
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-07-16 16:28:06 +09:00
Troy Benjegerdes 0151dabf52 AP_MotorsUGV: Fix Riscv64 compiler error issue #25974 2024-01-23 08:34:33 +09:00
Mirko Denecke 6038a4d8c7 AR_Motors: fix prearm for omni outputs 2024-01-10 09:47:03 +09:00
Mirko Denecke 9cd85f2a2f AR_Motors: fix support for omni vehicles 2024-01-02 11:27:53 +11:00
Iampete1 a0eb3396f8 AR_Motors: Move to new relay functions 2023-12-19 10:01:01 +11:00
Peter Barker c15a73c798 AR_Motors: correct compilation when GCS library not available 2023-12-12 11:41:47 +11:00
Stephen Dade 73eb3b0590 AR_Motors: Add prearm check for no outputs 2023-11-27 08:31:31 +09:00
Willian Galvani 158b99c20a AP_MotorsUGV: add asymmetry factor for skid-steering
Co-authored-by: Iampete1 <iampete@hotmail.co.uk>
2023-08-22 09:14:42 +09:00
Peter Barker dbfa718020 AR_Motors: add option to disable relay and servorelay libraries 2023-06-20 09:36:39 +10:00
Peter Barker 8532444bb5 AR_Motors: remove AP_ServoRelayEvents from AP_MotorsUGV interface
instead, take it from the singleton
2023-06-17 18:07:43 +10:00
Shiv Tyagi 560b2545c8 AR_Motors: fix have_skid_steering to return true for omni too 2022-12-12 19:59:17 +09:00
Randy Mackay adac463154 AR_Motors: remove arming check to allow ackerman and skid-steering 2022-08-22 07:46:50 -04:00
Iampete1 67fd8a1e49 AR_Motors: params always use set method 2022-08-03 13:43:48 +01:00
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