Commit Graph

40 Commits

Author SHA1 Message Date
Andrew Tridgell 1721216019 Rover: fixed skid steering
the main issue was the use of the last throttle in the throttle slew
rate control, but manual skid steering was also broken
2014-10-09 08:59:26 +11:00
Andrew Tridgell fc0d703b9b Rover: much simpler SPEED_TURN_GAIN implementation
as soon as we hit the SPEED_TURN_DIST we lower target speed to the
specified gain
2014-05-18 21:15:07 +10:00
Andrew Tridgell ac7f36494b Rover: use the next navigation course to adjust steering gain in turns
this should make waypoints along a straight path not reduce speed
2014-04-07 09:30:39 +10:00
Andrew Tridgell 58cfdebcd0 Rover: added BRAKING_SPEEDERR parameter
this controls how much speed error you need before brakes are used
2014-04-07 08:42:54 +10:00
Andrew Tridgell c6f9627782 Rover: use new channel output API 2014-04-03 12:19:25 +11:00
Andrew Tridgell f4f04ead68 Rover: added BRAKING_PERCENT parameter
this allows for reverse throttle to be applied for braking in corners
2014-03-31 08:44:19 +11:00
Andrew Tridgell ce3ed33649 Rover: support 14 RC channels on PX4 2014-03-25 14:47:05 +11:00
Randy Mackay 59555e8364 Rover: revert next_WP, prev_WP to location structures 2014-03-19 12:13:04 +09:00
Randy Mackay 4ca3a92655 Rover: Mission integration into command execution 2014-03-19 12:11:30 +09:00
Andrew Tridgell 7104bdf855 Rover: support k_steering channel 2014-03-05 12:57:51 +11:00
Andrew Tridgell 203073e3ba Rover: only use pivot steering in AUTO modes 2014-02-24 08:23:20 +11:00
Andrew Tridgell 4e2d5043ba Rover: added PIVOT_TURN_ANGLE parameter
this allows skid steering rovers to turn on the spot for sharp turns
2014-02-17 10:11:40 +11:00
Andrew Tridgell 37b8686f76 Rover: removed unused code
thanks to Mike for noticing this
2014-02-04 21:43:47 +11:00
Andrew Tridgell 7046f44443 Rover: added basic support for reverse in STEERING mode
this will allow for reverse in steering mode, while also fixing a
problem with AHRS yaw when reversing, and a problem with initial
throttle in steering mode
2013-11-18 10:58:22 +11:00
Andrew Tridgell 20ae1b7bc3 Rover: removed demo_servos()
doesn't do much good on rovers, and just slows boot
2013-10-23 09:40:41 +11:00
Andrew Tridgell 44eedd4abd Rover: update for new AP_SteerController API 2013-10-05 07:42:48 +10:00
Andrew Tridgell d000cd2320 Rover: switched to new steering controller
this uses a steering rate controller, based upon the planes roll
controller
2013-09-09 18:04:41 +10:00
Andrew Tridgell 887942471e Rover: use Y accel computed from gyro and velocity
this should be less susceptible to noise and attitude errors,
hopefully leading to better learning
2013-09-09 18:04:40 +10:00
Andrew Tridgell ecccc05eed Rover: added STEERING_LEARN parameter
when enabled (set to 1) it will learn TURN_CIRCLE based on the
demanded and actual lateral acceleration
2013-09-09 18:04:40 +10:00
Andrew Tridgell 97ed733ada Rover: use L1 controller for navigation
this uses the AP_L1_Control library for rover navigation
2013-09-09 18:04:40 +10:00
Andrew Tridgell 5b88334dbb Rover: added full camera and mount support 2013-07-15 09:57:00 +10:00
Andrew Tridgell 5a9485a419 Rover: support RCMAP_* mapping for steering/throttle 2013-06-03 19:33:59 +10:00
Andrew Tridgell b58d753344 Rover: make AUTO_TRIGGER_PIN be a push on/push off 2013-05-03 09:20:40 +10:00
Andrew Tridgell b13406859f Rover: replaced constrain() with constrain_float() 2013-05-02 10:26:12 +10:00
Andrew Tridgell a8d6fa3107 Rover: fixed dataflash logs to be useful
added sonar and fixed other messages
2013-04-19 10:23:57 +10:00
Andrew Tridgell a5fdbadcc2 Rover: use get_pid_4500() to prevent PID overflow
if users set much too large gains
2013-04-01 22:17:05 +11:00
Andrew Tridgell ad7e8bd9c4 Rover: added SONAR_DEBOUNCE option
this allows us to debounce the sonar triggering, which will make it
handle noise better
2013-03-29 10:49:08 +11:00
Andrew Tridgell caaf32211e Rover: new failsafe logic
this obeys FS_TIMEOUT and FS_ACTION
2013-03-29 10:25:53 +11:00
Andrew Tridgell 7c4dfa6698 Rover: fixed speed scaling for steering
it was inverted!
2013-03-29 09:14:58 +11:00
Andrew Tridgell c76f8a5242 Rover: fixed AUTO_KICKSTART GPIO pin handling 2013-03-22 12:31:35 +11:00
Andrew Tridgell a88ac50e6c Rover: log the X accel that triggers auto 2013-03-22 11:54:04 +11:00
Andrew Tridgell 3bed733f56 Rover: added AUTO_KICKSTART and AUTO_TRIGGER_PIN options 2013-03-22 09:38:25 +11:00
Andrew Tridgell 47890dfa72 Rover: added dual sonar support 2013-03-22 08:49:51 +11:00
Andrew Tridgell 0e8407ccbd Rover: put obstacle detection in a structure
easier to extend for multiple sonars
2013-03-22 07:41:36 +11:00
Andrew Tridgell 0dde0b3551 Rover: initial implementation of skid steering for APMrover2
this adds SKID_STEER_IN and SKID_STEER_OUT parameters for controlling
skid skeering control and output
2013-03-15 11:04:33 +11:00
Andrew Tridgell fc0b50dd82 Rover: reduce throttle more directly
this gives better throttle control in turns and waypoints
2013-03-02 13:51:50 +11:00
Andrew Tridgell daa603552b Rover: added new STEERING mode
this makes it easier to tune for auto mode
2013-03-01 22:33:11 +11:00
Andrew Tridgell 44a279811d Rover: removed old LITE mode
this will be replaced with a AHRS_Lite backend later
2013-03-01 07:40:47 +11:00
Andrew Tridgell 582d1c47b3 Rover: added filter to auto steering, and fixed throttle pid 2013-02-08 10:21:30 +11:00
Andrew Tridgell 5ee7abd892 Rover: rename Attitude.pde to Steering.pde 2013-02-08 09:32:23 +11:00