Go to the documentation of this file.
82 const double* absolute_pos,
const double* torque_sensor)
116 const double* absolute_pos)
146 const double* torque_sensor,
bool)
176 throw std::runtime_error(
"Actuator does not support absolute encoders");
185 throw std::runtime_error(
"Actuator does not support torque sensors");
198 throw std::runtime_error(
"Actuator does not support absolute encoders");
207 throw std::runtime_error(
"Actuator does not support torque sensors");
217 const double*
pos_ = {
nullptr};
218 const double*
vel_ = {
nullptr};
219 const double*
eff_ = {
nullptr};
double getTorqueSensor() const
const double * getAbsolutePositionPtr() const
A handle used to read the state of a single actuator. Currently, position, velocity and effort fields...
bool hasAbsolutePosition() const
const double * getEffortPtr() const
bool hasTorqueSensor() const
ActuatorStateHandle(const std::string &name, const double *pos, const double *vel, const double *eff, const double *absolute_pos)
const double * getTorqueSensorPtr() const
const double * torque_sensor_
Hardware interface to support reading the state of an array of actuators.
ActuatorStateHandle()=default
ActuatorStateHandle(const std::string &name, const double *pos, const double *vel, const double *eff, const double *absolute_pos, const double *torque_sensor)
const double * getPositionPtr() const
const double * absolute_pos_
double getAbsolutePosition() const
const double * getVelocityPtr() const
ActuatorStateHandle(const std::string &name, const double *pos, const double *vel, const double *eff)
ActuatorStateHandle(const std::string &name, const double *pos, const double *vel, const double *eff, const double *torque_sensor, bool)
An exception related to a HardwareInterface.
double getPosition() const
double getVelocity() const
std::string getName() const
Base class for handling hardware resources.
hardware_interface
Author(s): Wim Meeussen, Adolfo Rodriguez Tsouroukdissian
autogenerated on Tue Oct 15 2024 02:08:19