#include <motion_safety.h>
Definition at line 82 of file motion_safety.h.
MotionSafety::MotionSafety | ( | ) | [inline] |
Definition at line 85 of file motion_safety.h.
Definition at line 41 of file motion_safety_node.cpp.
void MotionSafety::checkFaults | ( | ) |
Definition at line 108 of file motion_safety_node.cpp.
void MotionSafety::diagnostic | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [protected] |
Definition at line 263 of file motion_safety_node.cpp.
void MotionSafety::driveCallback | ( | const grizzly_msgs::DriveConstPtr & | drive_commanded | ) | [protected] |
Manages a pass-through of Grizzly Drive messages, ensuring that the appropriate delays are observed before allowing the chassis to move, including activating the chassis lights and beeper. Also monitors encoders for possible failure.
Definition at line 231 of file motion_safety_node.cpp.
void MotionSafety::estopCallback | ( | const std_msgs::BoolConstPtr & | msg | ) | [protected] |
Definition at line 217 of file motion_safety_node.cpp.
bool MotionSafety::isEstopped | ( | ) |
Definition at line 251 of file motion_safety_node.cpp.
void MotionSafety::mcuStatusCallback | ( | const grizzly_msgs::RawStatusConstPtr & | status | ) | [protected] |
Definition at line 257 of file motion_safety_node.cpp.
void MotionSafety::setStop | ( | const std::string | reason, |
bool | estop = false , |
||
bool | fault = false |
||
) |
Definition at line 91 of file motion_safety_node.cpp.
void MotionSafety::watchdogCallback | ( | const ros::TimerEvent & | ) | [protected] |
Definition at line 132 of file motion_safety_node.cpp.
shared_ptr<DriveChangeLimiter> MotionSafety::accel_limiters_[4] [protected] |
Definition at line 142 of file motion_safety.h.
shared_ptr<diagnostic_updater::HeaderlessTopicDiagnostic> MotionSafety::diag_cmd_drive_freq_ [protected] |
Definition at line 137 of file motion_safety.h.
shared_ptr<diagnostic_updater::HeaderlessTopicDiagnostic> MotionSafety::diag_mcu_status_freq_ [protected] |
Definition at line 137 of file motion_safety.h.
shared_ptr<diagnostic_updater::Updater> MotionSafety::diagnostic_updater_ [protected] |
Definition at line 130 of file motion_safety.h.
shared_ptr<EncodersMonitor> MotionSafety::encoders_monitor_ [protected] |
Definition at line 140 of file motion_safety.h.
double MotionSafety::expected_mcu_status_frequency_ [protected] |
Definition at line 135 of file motion_safety.h.
ros::Time MotionSafety::last_commanded_movement_time_ [protected] |
Definition at line 105 of file motion_safety.h.
grizzly_msgs::RawStatusConstPtr MotionSafety::last_mcu_status_ [protected] |
Definition at line 120 of file motion_safety.h.
ros::Time MotionSafety::last_non_precharge_time_ [protected] |
Definition at line 106 of file motion_safety.h.
double MotionSafety::max_accel_ [protected] |
Definition at line 146 of file motion_safety.h.
double MotionSafety::max_cmd_drive_freq_ [protected] |
Definition at line 136 of file motion_safety.h.
double MotionSafety::min_cmd_drive_freq_ [protected] |
Definition at line 136 of file motion_safety.h.
shared_ptr<MotorsMonitor> MotionSafety::motor_drivers_monitor_ [protected] |
Definition at line 141 of file motion_safety.h.
ros::NodeHandle* MotionSafety::nh_ [protected] |
Definition at line 93 of file motion_safety.h.
ros::Publisher MotionSafety::pub_ambience_ [protected] |
Definition at line 126 of file motion_safety.h.
ros::Publisher MotionSafety::pub_estop_ [protected] |
Definition at line 127 of file motion_safety.h.
ros::Publisher MotionSafety::pub_safe_drive_ [protected] |
Definition at line 123 of file motion_safety.h.
double MotionSafety::radius_ [protected] |
Definition at line 145 of file motion_safety.h.
std::string MotionSafety::reason_ [protected] |
Definition at line 101 of file motion_safety.h.
ros::Duration MotionSafety::starting_duration_ [protected] |
Definition at line 109 of file motion_safety.h.
MotionState MotionSafety::state_ [protected] |
Definition at line 100 of file motion_safety.h.
ros::Subscriber MotionSafety::sub_drive_ [protected] |
Definition at line 119 of file motion_safety.h.
ros::Subscriber MotionSafety::sub_mcu_status_ [protected] |
Definition at line 119 of file motion_safety.h.
ros::Subscriber MotionSafety::sub_user_estop_ [protected] |
Definition at line 119 of file motion_safety.h.
ros::Time MotionSafety::transition_to_moving_time_ [protected] |
Definition at line 113 of file motion_safety.h.
ros::Timer MotionSafety::watchdog_timer_ [protected] |
Definition at line 99 of file motion_safety.h.
double MotionSafety::width_ [protected] |
Definition at line 144 of file motion_safety.h.