public class PilotProps
extends java.util.Properties
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_LEFTMOTOR |
static java.lang.String |
KEY_REVERSE |
static java.lang.String |
KEY_RIGHTMOTOR |
static java.lang.String |
KEY_TRACKWIDTH |
static java.lang.String |
KEY_WHEELDIAMETER |
static java.lang.String |
PERSISTENT_FILENAME |
Constructor and Description |
---|
PilotProps() |
Modifier and Type | Method and Description |
---|---|
static RegulatedMotor |
getMotor(java.lang.String motor)
Utility method to get Motor instance from string (A, B or C)
|
void |
loadPersistentValues() |
void |
storePersistentValues() |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
public static final java.lang.String PERSISTENT_FILENAME
public static final java.lang.String KEY_WHEELDIAMETER
public static final java.lang.String KEY_TRACKWIDTH
public static final java.lang.String KEY_LEFTMOTOR
public static final java.lang.String KEY_RIGHTMOTOR
public static final java.lang.String KEY_REVERSE
public void loadPersistentValues() throws java.io.IOException
java.io.IOException
public void storePersistentValues() throws java.io.IOException
java.io.IOException
public static RegulatedMotor getMotor(java.lang.String motor)