iCub-main
Public Member Functions | Public Attributes | Friends | List of all members
robotDriver Class Reference

#include <utils.h>

Public Member Functions

 robotDriver ()
 
bool configure (const Property &copt)
 
bool init ()
 
 ~robotDriver ()
 
bool setControlMode (const int j, const int mode)
 
bool setPosition (int j, double ref)
 
bool getEncoder (int j, double *v)
 
bool positionMove (int j, double ref)
 

Public Attributes

int n_joints
 
std::map< int, int > joints_map
 

Friends

class BroadcastingThread
 

Detailed Description

Definition at line 96 of file utils.h.

Constructor & Destructor Documentation

◆ robotDriver()

robotDriver::robotDriver ( )

Definition at line 241 of file utils.cpp.

◆ ~robotDriver()

robotDriver::~robotDriver ( )

Definition at line 312 of file utils.cpp.

Member Function Documentation

◆ configure()

bool robotDriver::configure ( const Property &  copt)

Definition at line 256 of file utils.cpp.

◆ getEncoder()

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

Definition at line 333 of file utils.cpp.

◆ init()

bool robotDriver::init ( void  )

Definition at line 281 of file utils.cpp.

◆ positionMove()

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

Definition at line 339 of file utils.cpp.

◆ setControlMode()

bool robotDriver::setControlMode ( const int  j,
const int  mode 
)

Definition at line 321 of file utils.cpp.

◆ setPosition()

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

Definition at line 327 of file utils.cpp.

Friends And Related Function Documentation

◆ BroadcastingThread

friend class BroadcastingThread
friend

Definition at line 98 of file utils.h.

Member Data Documentation

◆ joints_map

std::map<int, int> robotDriver::joints_map

Definition at line 113 of file utils.h.

◆ n_joints

int robotDriver::n_joints

Definition at line 112 of file utils.h.


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