Randy Mackay
d018a9334e
AP_MotorsUGV: add get_slew_limited_throttle
...
required by vehicle code to properly handle steering direction in cases where the driver's input throttle has the opposite sign from output throttle because throttle is being slew limited
7 years ago
Randy Mackay
3db2cc700e
AP_MotorsUGV: positive steering always rotates vehicle right
...
also scale steering down with increased speed for regular rovers
add support for disabling scaling of steering
7 years ago
Randy Mackay
8137001a86
AP_MotorsUGV: minor comment fix
7 years ago
Ammarf
de4e74b910
Rover: added comments to output_omni
7 years ago
Ammarf
aca2c596b4
Rover: Use output_throttle for omni rover motor output
7 years ago
Ammarf
d7e01d83d6
Rover: added is_omni_rover function
7 years ago
Randy Mackay
341d75e0c9
AP_MotorsUGV: force throttle to zero when disarmed
7 years ago
Randy Mackay
c69f7bb1d0
AP_MotorsUGV: consolidate parameter sanity checks
7 years ago
Randy Mackay
38b79cf0bc
AP_MotorsUGV: support vectored thrust
...
steering scaled down as throttle increases
7 years ago
Andrew Tridgell
4f6240ee8a
Rover: handle oneshot125 separately
7 years ago
Andrew Tridgell
4350cee7cf
Rover: added mask to set_output_mode()
7 years ago
Randy Mackay
c05d239069
Rover: remove throttle scaling dependency on throttle range
7 years ago
Randy Mackay
fa20fd695f
Rover: use throttle_min param as output deadzone
7 years ago
Randy Mackay
ebe3ec88a7
AP_MotorsUGV: pre arm check if regular and skid steering configured
7 years ago
Randy Mackay
97e87e2150
AP_MotorsUGV: skid steering always uses full range
...
Allows skid friction to be removed
7 years ago
Randy Mackay
87658e6a07
AP_MotorsUGV: add MOT_THST_EXPO to scale output to motors
7 years ago
Randy Mackay
bee8741b60
AP_MotorsUGV: order methods in cpp file to match h
...
non-functional change
7 years ago
Randy Mackay
6d472376bb
AP_MotorsUGV: do not limit just because of saturation
...
steering and throttle limit flags should only be set when there is no point in the caller passing in higher values because it will not result in an increased response. In the case of saturation, higher inputs will still result in a higher response.
7 years ago
Daniel Widmann
8f1857759f
AP_MotorsUGV: allow larger MOT_SLEWRATE values
7 years ago
Randy Mackay
78275ec4a1
AP_MotorsUGV: throttle slew updates motor limit flags
...
this ensure I-term build-up doesn't happen when the slew
causes the throttle to react slowly
7 years ago
Randy Mackay
6d805b64b6
AP_MotorsUGV: remove access to enable/disable throttle slewing
7 years ago
khancyr
005002736b
AP_MotorsUGV: fix MOT_SLEWRATE parameter description
7 years ago
Andrew Tridgell
d57f307032
Rover: use cork/push wrapper
7 years ago
khancyr
74d5767e25
Rover: Fix slew rate range
7 years ago
Randy Mackay
2c568f8046
Rover: minor parameter description change
...
non-functional change
7 years ago
Randy Mackay
9f67d2a88d
Rover: add MOT_SKID_FRIC to up skid-steer motor out while stopped
7 years ago
khancyr
2f1cc5ddfc
Rover: support brushed motor on normal rover
8 years ago
khancyr
25b1307400
Rover: solve servo reverse in brushed configuration
8 years ago
Randy Mackay
3f1271214e
Rover: rename MotorsUGV pwm type to brush-with-relay
8 years ago
khancyr
46e6057493
Rover: solve servo reverse in brushed configuration
8 years ago
khancyr
a035950a22
Rover: minor format fix
8 years ago
Randy Mackay
c8eceeabb6
AP_MotorsUGV: add THR_MIN, THR_MAX parameters
8 years ago
Randy Mackay
c61f965828
AP_MotorsUGV: re-order implementation to match declaration
...
non-functional change
8 years ago
Randy Mackay
a5783939ef
AP_MotorsUGV: add limit flags
...
These flags become true when the steering servo or motors hit their
limits. used to stop I-term build-up in higher level controllers.
8 years ago
Randy Mackay
28d74722bd
AP_MotorsUGV: minor formatting fix
8 years ago
Randy Mackay
e5b746c7dd
AP_MotorsUGV: fix motor test sequence
...
motor test sequence starts from 1
8 years ago
Randy Mackay
7bfb79a4b7
AP_MotorsUGV: add motor_output_test_pwm
...
this allows the ground station to test a motor by requesting a specific pwm value
8 years ago
khancyr
2cd3dd5cba
AP_MotorsUGV: add motor output test
8 years ago
khancyr
8421575f05
AP_MotorsUGV: add output_throttle to handle scaling and relay
...
this function hides the difference in scaling between the regular throttle
(-100 to +100) and the throttleLeft and throttleRight (-1000 to +1000)
Also handles the setting of the relay for brushed-with-relay motors
8 years ago
Randy Mackay
6464bfb601
MotorsUGV: set failsafe output
...
This informs the I/O board to stop sending pwm if the I/O board loses
contact with the main CPU
8 years ago
khancyr
f8a564f283
Rover: rename BRUSHEDPLUS to BRUSHEDBIPOLAR
8 years ago
khancyr
8ab3e83a3c
Rover: use float qualifier and functions
8 years ago
khancyr
1f0c985dec
Rover: add setup_servo_output to allow ouput reconfiguration
8 years ago
Pierre Kancir
29c59644b7
AP_MotorsUGV: add BrushedPlus motor type
...
BrushedPlus are brushed motors with separate throttle and steering pwm
inputs
8 years ago
Pierre Kancir
76c9d3982a
AP_MotorsUGV: motors lib for Rover
8 years ago