Commit Graph

19 Commits

Author SHA1 Message Date
khancyr 2f1cc5ddfc Rover: support brushed motor on normal rover 2017-08-24 20:09:47 +09:00
khancyr 25b1307400 Rover: solve servo reverse in brushed configuration 2017-08-24 20:05:27 +09:00
Randy Mackay 3f1271214e Rover: rename MotorsUGV pwm type to brush-with-relay 2017-08-22 10:09:13 +09:00
khancyr 46e6057493 Rover: solve servo reverse in brushed configuration 2017-08-22 10:09:10 +09:00
khancyr a035950a22 Rover: minor format fix 2017-08-17 09:45:49 +09:00
Randy Mackay c8eceeabb6 AP_MotorsUGV: add THR_MIN, THR_MAX parameters 2017-08-17 09:39:40 +09:00
Randy Mackay c61f965828 AP_MotorsUGV: re-order implementation to match declaration
non-functional change
2017-08-17 09:39:40 +09:00
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.
2017-08-15 20:47:19 +09:00
Randy Mackay 28d74722bd AP_MotorsUGV: minor formatting fix 2017-08-12 13:34:27 +09:00
Randy Mackay e5b746c7dd AP_MotorsUGV: fix motor test sequence
motor test sequence starts from 1
2017-07-18 10:15:44 +09:00
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
2017-07-18 10:15:44 +09:00
khancyr 2cd3dd5cba AP_MotorsUGV: add motor output test 2017-07-18 10:15:44 +09:00
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
2017-07-18 10:15:44 +09:00
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
2017-07-10 10:37:12 +09:00
khancyr f8a564f283 Rover: rename BRUSHEDPLUS to BRUSHEDBIPOLAR 2017-07-08 16:07:13 +09:00
khancyr 8ab3e83a3c Rover: use float qualifier and functions 2017-07-08 16:07:13 +09:00
khancyr 1f0c985dec Rover: add setup_servo_output to allow ouput reconfiguration 2017-07-08 16:07:13 +09:00
Pierre Kancir 29c59644b7 AP_MotorsUGV: add BrushedPlus motor type
BrushedPlus are brushed motors with separate throttle and steering pwm
inputs
2017-07-08 16:07:13 +09:00
Pierre Kancir 76c9d3982a AP_MotorsUGV: motors lib for Rover 2017-07-08 16:07:13 +09:00