public class CalWrangler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.ArrayList<Calibration> |
registeredCals
Full set of all registered calibrations on this robot
|
| Constructor and Description |
|---|
CalWrangler() |
| Modifier and Type | Method and Description |
|---|---|
static Calibration |
getCalFromName(java.lang.String name_in)
Return a reference to a registered calibration, given its name.
|
static int |
loadCalValues()
Reads from the calibration .csv file and overwrites present calibration values specified.
|
static int |
register(Calibration cal_in)
Register a calibration with the wrangler.
|
static int |
resetAllCalsToDefault()
Resets all registered calibrations back to default values
|
static int |
saveCalValues()
Writes present set of cal values over existing ones on file.
|
public static java.util.ArrayList<Calibration> registeredCals
public static int loadCalValues()
public static int saveCalValues()
public static int resetAllCalsToDefault()
public static int register(Calibration cal_in)
cal_in - The calibration to add to this wrangler.public static Calibration getCalFromName(java.lang.String name_in)
name_in - Name of the calibration to look up.