|
Re: SetSafetyEnabled() and SetExpiration()
We're using java and we had the same problem. We tried:
motor1->SetSafetyEnabled(true);
motor1->SetExpiration(10.0);
Even with these settings, the motor was running jerkily. The jerks were occurring much more frequently than 10 seconds. I know this because the command was defined to run for 3 seconds.
If we disabled the SetSafetyEnabled, the motor ran smoothly.
Any thoughts on why the system seems to think it needs to shut down the motor before the code can get through a single loop of the teleopPeriodic?
|