Robotics Library
0.7.0
|
#include <Coach.h>
Public Member Functions | |
Coach (const ::std::size_t &dof, const ::std::chrono::nanoseconds &updateRate, const ::std::size_t &i=0, const ::std::string &hostname="localhost", const unsigned short int &port=11235) | |
virtual | ~Coach () |
void | close () |
::rl::math::Vector | getJointPosition () const |
void | open () |
void | setJointPosition (const ::rl::math::Vector &q) |
void | setJointTorque (const ::rl::math::Vector &tau) |
void | setJointVelocity (const ::rl::math::Vector &qd) |
void | start () |
void | step () |
void | stop () |
Public Member Functions inherited from rl::hal::CyclicDevice | |
CyclicDevice (const ::std::chrono::nanoseconds &updateRate) | |
virtual | ~CyclicDevice () |
virtual ::std::chrono::nanoseconds | getUpdateRate () const |
Public Member Functions inherited from rl::hal::Device | |
Device () | |
virtual | ~Device () |
bool | isConnected () const |
bool | isRunning () const |
Public Member Functions inherited from rl::hal::JointPositionActuator | |
JointPositionActuator (const ::std::size_t &dof) | |
virtual | ~JointPositionActuator () |
Public Member Functions inherited from rl::hal::AxisController | |
AxisController (const ::std::size_t &dof) | |
virtual | ~AxisController () |
::std::size_t | getDof () const |
Public Member Functions inherited from rl::hal::JointPositionSensor | |
JointPositionSensor (const ::std::size_t &dof) | |
virtual | ~JointPositionSensor () |
Public Member Functions inherited from rl::hal::JointTorqueActuator | |
JointTorqueActuator (const ::std::size_t &dof) | |
virtual | ~JointTorqueActuator () |
Public Member Functions inherited from rl::hal::JointVelocityActuator | |
JointVelocityActuator (const ::std::size_t &dof) | |
virtual | ~JointVelocityActuator () |
Private Attributes | |
::std::size_t | i |
::std::array< char, 1024 > | in |
::std::stringstream | out |
Socket | socket |
Additional Inherited Members | |
Protected Member Functions inherited from rl::hal::Device | |
void | setConnected (const bool &connected) |
void | setRunning (const bool &running) |
rl::hal::Coach::Coach | ( | const ::std::size_t & | dof, |
const ::std::chrono::nanoseconds & | updateRate, | ||
const ::std::size_t & | i = 0 , |
||
const ::std::string & | hostname = "localhost" , |
||
const unsigned short int & | port = 11235 |
||
) |
|
virtual |
|
virtual |
Implements rl::hal::Device.
|
virtual |
Implements rl::hal::JointPositionSensor.
|
virtual |
Implements rl::hal::Device.
|
virtual |
Implements rl::hal::JointPositionActuator.
|
virtual |
Implements rl::hal::JointTorqueActuator.
|
virtual |
Implements rl::hal::JointVelocityActuator.
|
virtual |
Implements rl::hal::Device.
|
virtual |
Implements rl::hal::CyclicDevice.
|
virtual |
Implements rl::hal::Device.
|
private |
|
private |
|
private |
|
private |