Rover: slew throttle in all modes

This commit is contained in:
Randy Mackay 2017-11-22 09:35:25 +09:00
parent 822c4b6dca
commit 23028a659b
4 changed files with 0 additions and 4 deletions

View File

@ -21,7 +21,6 @@ void Mode::exit()
bool Mode::enter() bool Mode::enter()
{ {
g2.motors.slew_limit_throttle(false);
return _enter(); return _enter();
} }

View File

@ -20,7 +20,6 @@ bool ModeAuto::_enter()
// other initialisation // other initialisation
auto_triggered = false; auto_triggered = false;
g2.motors.slew_limit_throttle(true);
// initialise reversed to be false // initialise reversed to be false
set_reversed(false); set_reversed(false);

View File

@ -13,7 +13,6 @@ bool ModeGuided::_enter()
// guided mode never travels in reverse // guided mode never travels in reverse
rover.set_reverse(false); rover.set_reverse(false);
g2.motors.slew_limit_throttle(true);
return true; return true;
} }

View File

@ -14,7 +14,6 @@ bool ModeRTL::_enter()
// RTL never reverses // RTL never reverses
rover.set_reverse(false); rover.set_reverse(false);
g2.motors.slew_limit_throttle(true);
return true; return true;
} }