|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PhysicalController
A physical controller steers a set of required joints and desired joints. Each implementation should ensure that it is robust missing desired joints.
| Method Summary | |
|---|---|
PhysicalController |
copy(PhysicalHumanoid ph)
Creates a copy of the controller |
String[] |
getDesiredJointIDs()
Gets the ids of joints the controller would like to steer if available |
String |
getParameterValue(String name)
Get the parameter value of parameter name, return null if not found |
String[] |
getRequiredJointIDs()
Gets the ids of controlled joints |
void |
reset()
Clears out all previous time dependen variables |
void |
setParameterValue(String name,
float value)
|
void |
setParameterValue(String name,
String value)
|
void |
setPhysicalHumanoid(PhysicalHumanoid ph)
Links the controller to a new set of physical joints |
void |
update(double timeDiff)
Updates the controller |
| Method Detail |
|---|
void update(double timeDiff)
timeDiff - time since last updateString[] getRequiredJointIDs()
String[] getDesiredJointIDs()
void reset()
void setPhysicalHumanoid(PhysicalHumanoid ph)
ph - physical humanoid to link toPhysicalController copy(PhysicalHumanoid ph)
void setParameterValue(String name,
String value)
String getParameterValue(String name)
void setParameterValue(String name,
float value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||