lejos.util
Class PilotProps
java.lang.Object
java.util.Hashtable<Object,Object>
java.util.Properties
lejos.util.PilotProps
public class PilotProps
- extends Properties
Configuration class for Differential Pilot.
- Author:
- Lawrie Griffiths
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PERSISTENT_FILENAME
public static final String PERSISTENT_FILENAME
- See Also:
- Constant Field Values
KEY_WHEELDIAMETER
public static final String KEY_WHEELDIAMETER
- See Also:
- Constant Field Values
KEY_TRACKWIDTH
public static final String KEY_TRACKWIDTH
- See Also:
- Constant Field Values
KEY_LEFTMOTOR
public static final String KEY_LEFTMOTOR
- See Also:
- Constant Field Values
KEY_RIGHTMOTOR
public static final String KEY_RIGHTMOTOR
- See Also:
- Constant Field Values
KEY_REVERSE
public static final String KEY_REVERSE
- See Also:
- Constant Field Values
PilotProps
public PilotProps()
loadPersistentValues
public void loadPersistentValues()
throws IOException
- Throws:
IOException
storePersistentValues
public void storePersistentValues()
throws IOException
- Throws:
IOException
getMotor
public static RegulatedMotor getMotor(String motor)
- Utility method to get Motor instance from string (A, B or C)