Robotics Library
0.7.0
|
JR3 force-torque sensor. More...
#include <Jr3.h>
Public Member Functions | |
Jr3 (const ::std::string &filename="/dev/comedi0", const ::std::chrono::nanoseconds &updateRate=::std::chrono::milliseconds(1)) | |
virtual | ~Jr3 () |
void | bias () |
void | close () |
::rl::math::Vector | getForces () const |
::rl::math::Real | getForcesMaximum (const ::std::size_t &i) const |
::rl::math::Real | getForcesMinimum (const ::std::size_t &i) const |
::rl::math::Vector | getForcesTorques () const |
::rl::math::Real | getForcesTorquesMaximum (const ::std::size_t &i) const |
::rl::math::Real | getForcesTorquesMinimum (const ::std::size_t &i) const |
::rl::math::Vector | getTorques () const |
::rl::math::Real | getTorquesMaximum (const ::std::size_t &i) const |
::rl::math::Real | getTorquesMinimum (const ::std::size_t &i) const |
void | open () |
void | resetBias () |
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::SixAxisForceTorqueSensor | |
SixAxisForceTorqueSensor () | |
virtual | ~SixAxisForceTorqueSensor () |
::std::size_t | getForcesCount () const |
::rl::math::Real | getForcesMaximum (const ::std::size_t &i) const |
::rl::math::Real | getForcesMinimum (const ::std::size_t &i) const |
::std::size_t | getTorquesCount () const |
::rl::math::Real | getTorquesMaximum (const ::std::size_t &i) const |
::rl::math::Real | getTorquesMinimum (const ::std::size_t &i) const |
Public Member Functions inherited from rl::hal::ForceSensor | |
ForceSensor () | |
virtual | ~ForceSensor () |
Public Member Functions inherited from rl::hal::TorqueSensor | |
TorqueSensor () | |
virtual | ~TorqueSensor () |
Private Attributes | |
Comedi | comedi |
float | values [6] |
float | zeroes [6] |
Additional Inherited Members | |
Protected Member Functions inherited from rl::hal::Device | |
void | setConnected (const bool &connected) |
void | setRunning (const bool &running) |
JR3 force-torque sensor.
rl::hal::Jr3::Jr3 | ( | const ::std::string & | filename = "/dev/comedi0" , |
const ::std::chrono::nanoseconds & | updateRate = ::std::chrono::milliseconds(1) |
||
) |
|
virtual |
void rl::hal::Jr3::bias | ( | ) |
|
virtual |
Implements rl::hal::Device.
|
virtual |
[out] | forces | [N] |
Implements rl::hal::ForceSensor.
|
virtual |
Implements rl::hal::ForceSensor.
|
virtual |
Implements rl::hal::ForceSensor.
|
virtual |
[in] | forcesTorques | [N],[N],[N],[Nm],[Nm],[Nm] |
Implements rl::hal::SixAxisForceTorqueSensor.
|
virtual |
Implements rl::hal::SixAxisForceTorqueSensor.
|
virtual |
Implements rl::hal::SixAxisForceTorqueSensor.
|
virtual |
[out] | torques | [Nm] |
Implements rl::hal::TorqueSensor.
|
virtual |
Implements rl::hal::TorqueSensor.
|
virtual |
Implements rl::hal::TorqueSensor.
|
virtual |
Implements rl::hal::Device.
void rl::hal::Jr3::resetBias | ( | ) |
|
virtual |
Implements rl::hal::Device.
|
virtual |
Implements rl::hal::CyclicDevice.
|
virtual |
Implements rl::hal::Device.
|
private |
|
private |
|
private |