class JointPlacement extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static Map<Joint,Double> |
anglesToStriveFor |
static String |
lastMessage |
static double |
nextTimePhaseEnds |
Constructor and Description |
---|
JointPlacement() |
Modifier and Type | Method and Description |
---|---|
private static double |
calculateAngularSpeedFor(Joint joint) |
static void |
calculateNewTargetState(Phase activePhase)
Adjusts target state to newly performed phase
|
static String |
generateMessage()
Transforms desired joint angles into a corresponding server message.
|
private static void |
populateAngleTargets()
Initial population of the map - each angle starts at 0.0 degrees
|
String |
toString() |
public static double nextTimePhaseEnds
public static String lastMessage
private static void populateAngleTargets()
public static void calculateNewTargetState(Phase activePhase)
activePhase
- the next phasepublic static String generateMessage()
private static double calculateAngularSpeedFor(Joint joint)