#include <joint_diagnostics.h>
Public Member Functions | |
JointStats (std::string nam) | |
boost::shared_ptr< diagnostic_updater::DiagnosticStatusWrapper > | toDiagStat () const |
bool | update (const pr2_mechanism_msgs::JointStatistics &js) |
~JointStats () | |
Private Member Functions | |
void | reset_vals () |
Private Attributes | |
double | commanded_effort |
bool | is_calibrated |
double | max_abs_eff_val |
double | max_abs_vel_val |
double | max_pos_val |
double | measured_effort |
double | min_pos_val |
std::string | name |
bool | needs_reset |
double | odometer |
double | position |
ros::Time | updateTime |
double | velocity |
bool | violated_limits |
Tracks data from joints and publishes to diagnostics Updates with pr2_mechanism_msgs/JointStatistics data
Any joint that reports a NaN or Inf value will report an error. Any joint that is uncalibrated will report a warning.
Definition at line 108 of file joint_diagnostics.h.
JointStats::JointStats | ( | std::string | nam | ) |
!< Resets min/max values for next publish
Definition at line 58 of file joint_diagnostics.cpp.
|
inline |
Definition at line 132 of file joint_diagnostics.h.
|
private |
Definition at line 74 of file joint_diagnostics.cpp.
boost::shared_ptr< diagnostic_updater::DiagnosticStatusWrapper > JointStats::toDiagStat | ( | ) | const |
Definition at line 85 of file joint_diagnostics.cpp.
bool JointStats::update | ( | const pr2_mechanism_msgs::JointStatistics & | js | ) |
Definition at line 136 of file joint_diagnostics.cpp.
|
private |
Definition at line 119 of file joint_diagnostics.h.
|
private |
Definition at line 120 of file joint_diagnostics.h.
|
private |
Definition at line 125 of file joint_diagnostics.h.
|
private |
Definition at line 125 of file joint_diagnostics.h.
|
private |
Definition at line 125 of file joint_diagnostics.h.
|
private |
Definition at line 118 of file joint_diagnostics.h.
|
private |
Definition at line 125 of file joint_diagnostics.h.
|
private |
Definition at line 115 of file joint_diagnostics.h.
|
mutableprivate |
Definition at line 113 of file joint_diagnostics.h.
|
private |
Definition at line 122 of file joint_diagnostics.h.
|
private |
Definition at line 116 of file joint_diagnostics.h.
|
private |
Definition at line 111 of file joint_diagnostics.h.
|
private |
Definition at line 117 of file joint_diagnostics.h.
|
private |
Definition at line 121 of file joint_diagnostics.h.