iCub-main
|
Abstract class for mapping from "physical" (simulated) joints in the model to control joints in the ICUB specification. More...
#include <LogicalJoint.h>
Public Member Functions | |
virtual | ~LogicalJoint () |
Destructor. More... | |
virtual double | getAngle ()=0 |
Get the angle of an associated joint, in ICUB units and sign. More... | |
virtual double | getVelocity ()=0 |
Get the angular velocity of an associated joint, in ICUB units and sign. More... | |
virtual void | setControlParameters (double vel, double acc)=0 |
Set velocity and acceleration control parameters. More... | |
virtual void | setPosition (double target)=0 |
Drive towards an angle setpoint (in ICUB units/sign). More... | |
virtual void | setVelocity (double target)=0 |
Set velocity of joint (in ICUB units/sign). More... | |
virtual bool | isValid ()=0 |
virtual double | getTorque ()=0 |
this is just a fake torque interface for now More... | |
virtual void | setTorque (double target)=0 |
Set the reference torque. More... | |
virtual void | controlModeChanged (int cm)=0 |
Abstract class for mapping from "physical" (simulated) joints in the model to control joints in the ICUB specification.
Definition at line 33 of file LogicalJoint.h.
|
inlinevirtual |
Destructor.
Definition at line 38 of file LogicalJoint.h.
|
pure virtual |
Implemented in OdeLogicalJoint, and FakeLogicalJoint.
|
pure virtual |
Get the angle of an associated joint, in ICUB units and sign.
Implemented in OdeLogicalJoint, FakeLogicalJoint, and BlenderLogicalJoints.
|
pure virtual |
this is just a fake torque interface for now
Implemented in OdeLogicalJoint, and FakeLogicalJoint.
|
pure virtual |
Get the angular velocity of an associated joint, in ICUB units and sign.
Implemented in OdeLogicalJoint, FakeLogicalJoint, and BlenderLogicalJoints.
|
pure virtual |
Implemented in OdeLogicalJoint, FakeLogicalJoint, and BlenderLogicalJoints.
|
pure virtual |
Set velocity and acceleration control parameters.
Implemented in OdeLogicalJoint, FakeLogicalJoint, and BlenderLogicalJoints.
|
pure virtual |
Drive towards an angle setpoint (in ICUB units/sign).
Implemented in OdeLogicalJoint, FakeLogicalJoint, and BlenderLogicalJoints.
|
pure virtual |
Set the reference torque.
Implemented in OdeLogicalJoint, and FakeLogicalJoint.
|
pure virtual |
Set velocity of joint (in ICUB units/sign).
Implemented in OdeLogicalJoint, FakeLogicalJoint, and BlenderLogicalJoints.