$search
#include <joint.h>
Public Member Functions | |
void | enforceLimits () |
Modify the commanded_effort_ of the joint state so that the joint limits are satisfied. | |
void | getLimits (double &effort_low, double &effort_high) |
Returns the safety effort limits given the current position and velocity. | |
JointState () | |
Constructor. | |
Public Attributes | |
bool | calibrated_ |
Bool to indicate if the joint has been calibrated or not. | |
double | commanded_effort_ |
The effort the joint should apply in Nm or N (write-to variable). | |
boost::shared_ptr< const urdf::Joint > | joint_ |
A pointer to the corresponding urdf::Joint from the urdf::Model. | |
JointStatistics | joint_statistics_ |
double | measured_effort_ |
The measured joint effort in Nm or N (read-only variable). | |
double | position_ |
The joint position in radians or meters (read-only variable). | |
double | reference_position_ |
The position of the optical flag that was used to calibrate this joint. | |
double | velocity_ |
The joint velocity in randians/sec or meters/sec (read-only variable). |
Definition at line 71 of file joint.h.
pr2_mechanism_model::JointState::JointState | ( | ) | [inline] |
void JointState::enforceLimits | ( | ) |
void JointState::getLimits | ( | double & | effort_low, | |
double & | effort_high | |||
) |
boost::shared_ptr<const urdf::Joint> pr2_mechanism_model::JointState::joint_ |
A pointer to the corresponding urdf::Joint from the urdf::Model.