|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
Re: Java wait Function
The MotorSafetyHelper is disabled by default for the Victor, Jaguar, and Talon classes. It is enabled by default for RobotDrive with a 100 ms timeout.
From RobotDrive.java: Code:
...
public static final double kDefaultExpirationTime = 0.1;
...
private void setupMotorSafety() {
m_safetyHelper = new MotorSafetyHelper(this);
m_safetyHelper.setExpiration(kDefaultExpirationTime);
m_safetyHelper.setSafetyEnabled(true);
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|