Go to the documentation of this file.
27 inline JointSensor(
const std::string & jointName) { joint_ = jointName; }
38 inline const
std::
string & joint() const noexcept {
return joint_; }
44 inline void motorTemperature(
double motor_temperature) noexcept { motor_temperature_ = motor_temperature; }
50 inline void driverTemperature(
double driver_temperature) noexcept { driver_temperature_ = driver_temperature; }
53 inline double motorCurrent() const noexcept {
return motor_current_; }
56 inline void motorCurrent(
double motor_current) noexcept { motor_current_ = motor_current; }
59 inline bool motorStatus() const noexcept {
return motor_status_; }
62 inline void motorStatus(
bool motor_status) noexcept { motor_status_ = motor_status; }
70 double motor_temperature_ = std::numeric_limits<double>::quiet_NaN();
72 double driver_temperature_ = std::numeric_limits<double>::quiet_NaN();
74 double motor_current_ = std::numeric_limits<double>::quiet_NaN();
76 bool motor_status_ =
true;
double motorCurrent() const noexcept
Definition: JointSensor.h:53
void motorCurrent(double motor_current) noexcept
Definition: JointSensor.h:56
std::string joint_
Definition: JointSensor.h:66
void driverTemperature(double driver_temperature) noexcept
Definition: JointSensor.h:50
JointSensor()
Definition: JointSensor.h:20
void motorTemperature(double motor_temperature) noexcept
Definition: JointSensor.h:44
const std::string & joint() const noexcept
Definition: JointSensor.h:38
void motorStatus(bool motor_status) noexcept
Definition: JointSensor.h:62
JointSensor(const std::string &jointName)
Definition: JointSensor.h:27
double motorTemperature() const noexcept
Definition: JointSensor.h:41
#define MC_RBDYN_DLLAPI
Definition: api.h:50
bool operator==(const mc_rbdyn::BodySensor &lhs, const mc_rbdyn::BodySensor &rhs)
Definition: BodySensor.h:147
double driverTemperature() const noexcept
Definition: JointSensor.h:47
Definition: generic_gripper.h:14
bool motorStatus() const noexcept
Definition: JointSensor.h:59
Definition: JointSensor.h:17