A handle used to read the state of a force-torque sensor.
More...
#include <force_torque_sensor_interface.h>
A handle used to read the state of a force-torque sensor.
Definition at line 40 of file force_torque_sensor_interface.h.
◆ ForceTorqueSensorHandle() [1/2]
hardware_interface::ForceTorqueSensorHandle::ForceTorqueSensorHandle |
( |
| ) |
|
|
default |
◆ ForceTorqueSensorHandle() [2/2]
hardware_interface::ForceTorqueSensorHandle::ForceTorqueSensorHandle |
( |
const std::string & |
name, |
|
|
const std::string & |
frame_id, |
|
|
const double * |
force, |
|
|
const double * |
torque |
|
) |
| |
|
inline |
- Parameters
-
name | The name of the sensor |
frame_id | The reference frame to which this sensor is associated |
force | A pointer to the storage of the force value: a triplet (x,y,z) |
torque | A pointer to the storage of the torque value: a triplet (x,y,z) |
Definition at line 52 of file force_torque_sensor_interface.h.
◆ getForce()
const double* hardware_interface::ForceTorqueSensorHandle::getForce |
( |
| ) |
const |
|
inline |
◆ getFrameId()
std::string hardware_interface::ForceTorqueSensorHandle::getFrameId |
( |
| ) |
const |
|
inline |
◆ getName()
std::string hardware_interface::ForceTorqueSensorHandle::getName |
( |
| ) |
const |
|
inline |
◆ getTorque()
const double* hardware_interface::ForceTorqueSensorHandle::getTorque |
( |
| ) |
const |
|
inline |
◆ force_
const double* hardware_interface::ForceTorqueSensorHandle::force_ = {nullptr} |
|
private |
◆ frame_id_
std::string hardware_interface::ForceTorqueSensorHandle::frame_id_ |
|
private |
◆ name_
std::string hardware_interface::ForceTorqueSensorHandle::name_ |
|
private |
◆ torque_
const double* hardware_interface::ForceTorqueSensorHandle::torque_ = {nullptr} |
|
private |
The documentation for this class was generated from the following file: