YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
robotDriver Class Reference

#include </home/runner/work/yarp-documentation/yarp-documentation/yarp/src/commands/yarpActionsPlayer/robotDriver.h>

Public Member Functions

 robotDriver ()
 
bool configure (yarp::dev::PolyDriver *pd)
 
bool init ()
 
 ~robotDriver ()
 
size_t getNJoints ()
 
bool getControlMode (const int j, yarp::dev::ControlModeEnum &mode)
 
bool setControlMode (const int j, const yarp::dev::SelectableControlModeEnum mode)
 
bool setPosition (int j, double ref)
 
bool getEncoder (int j, double *v)
 
bool positionMove (int j, double ref)
 
bool setTrajectoryTime (double t)
 
bool setTrajectoryTime (int j, double t)
 
bool storeRefVelocities ()
 
bool loadRefVelocities ()
 

Friends

class BroadcastingThread
 

Detailed Description

Definition at line 19 of file robotDriver.h.

Constructor & Destructor Documentation

◆ robotDriver()

robotDriver::robotDriver ( )

Definition at line 29 of file robotDriver.cpp.

◆ ~robotDriver()

robotDriver::~robotDriver ( )

Definition at line 94 of file robotDriver.cpp.

Member Function Documentation

◆ configure()

bool robotDriver::configure ( yarp::dev::PolyDriver *  pd)

Definition at line 33 of file robotDriver.cpp.

◆ getControlMode()

bool robotDriver::getControlMode ( const int  j,
yarp::dev::ControlModeEnum &  mode 
)

Definition at line 98 of file robotDriver.cpp.

◆ getEncoder()

bool robotDriver::getEncoder ( int  j,
double *  v 
)

Definition at line 116 of file robotDriver.cpp.

◆ getNJoints()

size_t robotDriver::getNJoints ( )

Definition at line 143 of file robotDriver.cpp.

◆ init()

bool robotDriver::init ( )

Definition at line 52 of file robotDriver.cpp.

◆ loadRefVelocities()

bool robotDriver::loadRefVelocities ( )

Definition at line 169 of file robotDriver.cpp.

◆ positionMove()

bool robotDriver::positionMove ( int  j,
double  ref 
)

Definition at line 122 of file robotDriver.cpp.

◆ setControlMode()

bool robotDriver::setControlMode ( const int  j,
const yarp::dev::SelectableControlModeEnum  mode 
)

Definition at line 104 of file robotDriver.cpp.

◆ setPosition()

bool robotDriver::setPosition ( int  j,
double  ref 
)

Definition at line 110 of file robotDriver.cpp.

◆ setTrajectoryTime() [1/2]

bool robotDriver::setTrajectoryTime ( double  t)

Definition at line 39 of file robotDriver.cpp.

◆ setTrajectoryTime() [2/2]

bool robotDriver::setTrajectoryTime ( int  j,
double  t 
)

Definition at line 46 of file robotDriver.cpp.

◆ storeRefVelocities()

bool robotDriver::storeRefVelocities ( )

Definition at line 161 of file robotDriver.cpp.

Friends And Related Symbol Documentation

◆ BroadcastingThread

friend class BroadcastingThread
friend

Definition at line 21 of file robotDriver.h.


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