Iampete1
c1d4e5116d
Rover: move TURN_MAX_G param to atitude control
4 years ago
Peter Barker
d31700c310
Rover: rename directory from APMrover2
5 years ago
Randy Mackay
20152dbdb7
Rover: fix logging of desired lateral acceleration
6 years ago
Randy Mackay
75ba96b7a2
Rover: separate nudge from calc_throttle
...
This is required because AR_WPNav produces an acceleration adjusted desired speed meaning in rare cases where the vehicle is moving in reverse at the time auto is engaged, the desired speed may be temporarily negative as the vehicle slows. In these situations we do not want to allow the vehicle's speed to be nudged to a higher reverse speed if the pilot's throttle stick is all the way down
6 years ago
Tom Pittenger
a798f9eb27
Rover: refactor motor.set_steering() to mode.set_steering()
6 years ago
Randy Mackay
73bdc3be09
Rover: set ahrs flyforward if thr over 15% for 2 seconds
...
or if throttle is positive and desired speed over 0.5m/s
7 years ago
Randy Mackay
fc35e74821
Rover: pass dt to attitude controller
7 years ago
Randy Mackay
3d1c078a44
Rover: steering mode uses turn rate control when stopped
7 years ago
Randy Mackay
3645e18243
Rover: acro and steering use get_pilot_desired_steering_and_speed
7 years ago
Randy Mackay
c4804e4576
Rover: remove redundant avoidance call from steering
7 years ago
Randy Mackay
29e8866ea9
Rover: move avoidance into calc_throttle
...
also enable avoidance for steering and guided modes
7 years ago
Randy Mackay
4e8399ca3f
Rover: acro and steering steer even with target speed of zero
7 years ago
Randy Mackay
509c7e2a8f
Rover: add object avoidance to steering and acro modes
7 years ago
Randy Mackay
072b5187a3
Rover: steering mode reversing fix
7 years ago
Randy Mackay
916fe80000
Rover: remove mode class's desired-lat-accel
...
This was a duplicate of the value held in the attitude controller
7 years ago
Randy Mackay
b778546eda
Rover: rename mode lateral acceleration and make private
7 years ago
Peter Barker
1a59b38204
Rover: use throttle rather than steering to determine target speed
7 years ago
Randy Mackay
26f50f6055
Rover: PILOT_STEER_TYPE replaces SKID_STEER_IN
...
new options allow controlling vehicle's heading while reversing
skid-steering vehicles rotate in opposite direction when backing up
7 years ago
Randy Mackay
c6689fd2e1
Rover: rename calc_nav_steer to calc_steering_from_lateral_acceleration
...
rename calc_lateral_acceleration to calc_steering_to_waypoint
calc_steering_to_waypoint internally calls calc_steering_from_lateral_acceleration
non-functional change
7 years ago
khancyr
c08203de17
Rover: allow pivot turn in STEERING mode
7 years ago
Randy Mackay
c9927e6af6
Rover: bug fix to steering mode top speed
...
Also non-functional change to calc_throttle to make call to calc_speed_nudge consistent
8 years ago
Randy Mackay
167a856cdb
Rover: remove THR_MIN, THR_MAX parameters from vehicle
...
enforcing these limits is now handled by AP_MotorsUGV class
8 years ago
Randy Mackay
57b2b02509
Rover: remove out-of-date comment
8 years ago
Randy Mackay
95c5ada3e9
Rover: modes use stop_vehicle to stop gently
...
modes slow to a stop instead of immediately setting motors to zero
vehicle centers steering when stopping
8 years ago
Randy Mackay
d99108f3bc
Rover: use AR_AttitudeControl for throttle control
...
also direct throttle nudge replaced with speed nudge
calc_speed_max estimates vehicle's top speed based on cruise-speed and
cruise-throttle
steering mode now provides total target speed instead of using speed plug
throttle nudge
motor limits provided to attitude control to stop i-term buildup
uses negative desired speed instead of reversed flag
reporting to GCS uses new throttle controller
braking is simply enabled and allows a reverse motor output regardless of vehicle
speed
8 years ago
Randy Mackay
61d1ced7aa
Rover: add turn radius param for steering mode
...
removes reliance on old steerController
8 years ago
Randy Mackay
4f5e82f406
Rover: mode fixes for reversing
8 years ago
Randy Mackay
3d13d98410
Rover: steering mode direction fix when reversing
...
this corrects the rotation direction when moving backwards in steering mode so that it's consistent with manual mode
8 years ago
Randy Mackay
f9186de0ca
Rover: steering mode formatting change
...
no functional change
8 years ago
Peter Barker
2a9b1017b6
Rover: add control modes class
8 years ago