iCub-main
Public Member Functions | List of all members
BlenderLogicalJoints Class Reference

#include <BlenderLogicalJoints.h>

+ Inheritance diagram for BlenderLogicalJoints:

Public Member Functions

virtual LogicalJointcontrol (int part, int axis)
 Access the control for a logical joint, based on part and axis number. More...
 
virtual double getAngle ()
 Get the angle of an associated joint, in ICUB units and sign. More...
 
virtual double getVelocity ()
 Get the angular velocity of an associated joint, in ICUB units and sign. More...
 
virtual void setControlParameters (double vel, double acc)
 Set velocity and acceleration control parameters. More...
 
virtual void setPosition (double target)
 Drive towards an angle setpoint (in ICUB units/sign). More...
 
virtual void setVelocity (double target)
 Set velocity of joint (in ICUB units/sign). More...
 
virtual bool isValid ()
 
- Public Member Functions inherited from LogicalJoint
virtual ~LogicalJoint ()
 Destructor. More...
 
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
 
- Public Member Functions inherited from LogicalJoints
virtual ~LogicalJoints ()
 

Detailed Description

Definition at line 14 of file BlenderLogicalJoints.h.

Member Function Documentation

◆ control()

virtual LogicalJoint& BlenderLogicalJoints::control ( int  part,
int  axis 
)
inlinevirtual

Access the control for a logical joint, based on part and axis number.

Implements LogicalJoints.

Definition at line 16 of file BlenderLogicalJoints.h.

◆ getAngle()

virtual double BlenderLogicalJoints::getAngle ( )
inlinevirtual

Get the angle of an associated joint, in ICUB units and sign.

Implements LogicalJoint.

Definition at line 20 of file BlenderLogicalJoints.h.

◆ getVelocity()

virtual double BlenderLogicalJoints::getVelocity ( )
inlinevirtual

Get the angular velocity of an associated joint, in ICUB units and sign.

Implements LogicalJoint.

Definition at line 22 of file BlenderLogicalJoints.h.

◆ isValid()

virtual bool BlenderLogicalJoints::isValid ( )
inlinevirtual

Implements LogicalJoint.

Definition at line 30 of file BlenderLogicalJoints.h.

◆ setControlParameters()

virtual void BlenderLogicalJoints::setControlParameters ( double  vel,
double  acc 
)
inlinevirtual

Set velocity and acceleration control parameters.

Implements LogicalJoint.

Definition at line 24 of file BlenderLogicalJoints.h.

◆ setPosition()

virtual void BlenderLogicalJoints::setPosition ( double  target)
inlinevirtual

Drive towards an angle setpoint (in ICUB units/sign).

Implements LogicalJoint.

Definition at line 26 of file BlenderLogicalJoints.h.

◆ setVelocity()

virtual void BlenderLogicalJoints::setVelocity ( double  target)
inlinevirtual

Set velocity of joint (in ICUB units/sign).

Implements LogicalJoint.

Definition at line 28 of file BlenderLogicalJoints.h.


The documentation for this class was generated from the following file: