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

#include <FakeLogicalJoint.h>

+ Inheritance diagram for FakeLogicalJoint:

Public Member Functions

 FakeLogicalJoint ()
 
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 ()
 
virtual double getTorque ()
 this is just a fake torque interface for now More...
 
virtual void setTorque (double target)
 Set the reference torque. More...
 
virtual void controlModeChanged (int cm)
 
void update ()
 
- Public Member Functions inherited from LogicalJoint
virtual ~LogicalJoint ()
 Destructor. More...
 

Detailed Description

Definition at line 28 of file FakeLogicalJoint.h.

Constructor & Destructor Documentation

◆ FakeLogicalJoint()

FakeLogicalJoint::FakeLogicalJoint ( )
inline

Definition at line 35 of file FakeLogicalJoint.h.

Member Function Documentation

◆ controlModeChanged()

virtual void FakeLogicalJoint::controlModeChanged ( int  cm)
inlinevirtual

Implements LogicalJoint.

Definition at line 77 of file FakeLogicalJoint.h.

◆ getAngle()

virtual double FakeLogicalJoint::getAngle ( )
inlinevirtual

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

Implements LogicalJoint.

Definition at line 40 of file FakeLogicalJoint.h.

◆ getTorque()

virtual double FakeLogicalJoint::getTorque ( )
inlinevirtual

this is just a fake torque interface for now

Implements LogicalJoint.

Definition at line 69 of file FakeLogicalJoint.h.

◆ getVelocity()

virtual double FakeLogicalJoint::getVelocity ( )
inlinevirtual

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

Implements LogicalJoint.

Definition at line 45 of file FakeLogicalJoint.h.

◆ isValid()

virtual bool FakeLogicalJoint::isValid ( )
inlinevirtual

Implements LogicalJoint.

Definition at line 64 of file FakeLogicalJoint.h.

◆ setControlParameters()

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

Set velocity and acceleration control parameters.

Implements LogicalJoint.

Definition at line 50 of file FakeLogicalJoint.h.

◆ setPosition()

virtual void FakeLogicalJoint::setPosition ( double  target)
inlinevirtual

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

Implements LogicalJoint.

Definition at line 54 of file FakeLogicalJoint.h.

◆ setTorque()

virtual void FakeLogicalJoint::setTorque ( double  target)
inlinevirtual

Set the reference torque.

Implements LogicalJoint.

Definition at line 73 of file FakeLogicalJoint.h.

◆ setVelocity()

virtual void FakeLogicalJoint::setVelocity ( double  target)
inlinevirtual

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

Implements LogicalJoint.

Definition at line 59 of file FakeLogicalJoint.h.

◆ update()

void FakeLogicalJoint::update ( )
inline

Definition at line 79 of file FakeLogicalJoint.h.


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