| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.physics.controller.MeathookBalanceController
public class MeathookBalanceController
TODO: test this
| Field Summary | |
|---|---|
private  float | 
d0
 | 
private  String[] | 
desJointIDs
 | 
private  float[] | 
dir
 | 
private  float[] | 
dirDiff
 | 
private  float | 
dOffset
 | 
private  float | 
dRest
 | 
private  float | 
Fold
 | 
private  String[] | 
jointIDs
 | 
private  float | 
kd
 | 
private  float | 
kv
 | 
private  float | 
mass
 | 
private  PhysicalHumanoid | 
pHuman
 | 
private  float[] | 
pos
 | 
private  PhysicalSegment | 
seg
 | 
private  float[] | 
springOrig
 | 
| Constructor Summary | |
|---|---|
MeathookBalanceController(PhysicalHumanoid p)
 | 
|
| 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 p)
Links the controller to a new set of physical joints  | 
 void | 
update(double timeDiff)
Updates the controller  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private float[] springOrig
private float[] dir
private float[] dirDiff
private float[] pos
private float d0
private float dOffset
private float mass
private float dRest
private float kv
private float kd
private float Fold
private PhysicalHumanoid pHuman
private PhysicalSegment seg
private final String[] jointIDs
private String[] desJointIDs
| Constructor Detail | 
|---|
public MeathookBalanceController(PhysicalHumanoid p)
| Method Detail | 
|---|
public void setPhysicalHumanoid(PhysicalHumanoid p)
PhysicalController
setPhysicalHumanoid in interface PhysicalControllerp - physical humanoid to link topublic void reset()
PhysicalController
reset in interface PhysicalControllerpublic void update(double timeDiff)
PhysicalController
update in interface PhysicalControllertimeDiff - time since last updatepublic String[] getRequiredJointIDs()
PhysicalController
getRequiredJointIDs in interface PhysicalControllerpublic PhysicalController copy(PhysicalHumanoid ph)
PhysicalController
copy in interface PhysicalControllerpublic String getParameterValue(String name)
PhysicalController
getParameterValue in interface PhysicalController
public void setParameterValue(String name,
                              String value)
setParameterValue in interface PhysicalController
public void setParameterValue(String name,
                              float value)
setParameterValue in interface PhysicalControllerpublic String[] getDesiredJointIDs()
PhysicalController
getDesiredJointIDs in interface PhysicalController
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||