View Single Post
  #8   Spotlight this post!  
Unread 18-02-2016, 08:34
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: TeleopPeriodic doesn't seem to iterate fast enough to smoothly run motors

Quote:
Originally Posted by Mark McLeod View Post
If your code disabled the motor safety then the motor would suddenly burst back to life at whatever speed was set however long ago.
The motor safety is optional, but is probably engaged by default.
I don't remember in LabVIEW, but in C++ and Java the motor will not restart unless you call Set(). Simply disabling motor safety after it has expired will not cause the motor to restart.

In all 3 languages, MotorSafety is on by default for RobotDrive and off by default for everything else.
Reply With Quote