#include <mc_rbdyn/JointSensor.h>
Public Member Functions | |
JointSensor () | |
JointSensor (const std::string &jointName) | |
JointSensor (const JointSensor &)=default | |
JointSensor & | operator= (const JointSensor &)=default |
JointSensor (JointSensor &&)=default | |
JointSensor & | operator= (JointSensor &&)=default |
~JointSensor () noexcept=default | |
const std::string & | joint () const noexcept |
double | motorTemperature () const noexcept |
void | motorTemperature (double motor_temperature) noexcept |
double | driverTemperature () const noexcept |
void | driverTemperature (double driver_temperature) noexcept |
double | motorCurrent () const noexcept |
void | motorCurrent (double motor_current) noexcept |
bool | motorStatus () const noexcept |
void | motorStatus (bool motor_status) noexcept |
Protected Attributes | |
std::string | joint_ |
This structure defines a joint sensor that provides temperature and current information for a specfic joint.
|
inline |
Default constructor, does not represent a valid joint sensor
|
inline |
Constructor
jointName | Name of the joint to which the sensor is attached |
|
default |
|
default |
|
defaultnoexcept |
|
inlinenoexcept |
Return the sensor's driver temperature reading (Celcius), NaN if not provided
|
inlinenoexcept |
Set the sensor's driver temperature reading (Celcius)
|
inlinenoexcept |
Returns the sensor's joint name
|
inlinenoexcept |
Return the sensor's current reading (Ampere), NaN if not provided
|
inlinenoexcept |
Set the sensor's current reading (Ampere)
|
inlinenoexcept |
Return the sensor's motor ON/OFF reading, ON (true) if not provided
|
inlinenoexcept |
Set the sensor's motor ON/OFF reading
|
inlinenoexcept |
Return the sensor's motor temperature reading (Celcius), NaN if not provided
|
inlinenoexcept |
Set the sensor's motor temperature reading (Celcius)
|
default |
|
default |
|
protected |
Name of joint to which sensor is attached