#include <motion_safety.h>
Definition at line 59 of file motion_safety.h.
MotionSafety::MotionSafety | ( | ) | [inline] |
Definition at line 62 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 119 of file motion_safety.h.
shared_ptr<diagnostic_updater::HeaderlessTopicDiagnostic> MotionSafety::diag_cmd_drive_freq_ [protected] |
Definition at line 114 of file motion_safety.h.
shared_ptr<diagnostic_updater::HeaderlessTopicDiagnostic> MotionSafety::diag_mcu_status_freq_ [protected] |
Definition at line 114 of file motion_safety.h.
shared_ptr<diagnostic_updater::Updater> MotionSafety::diagnostic_updater_ [protected] |
Definition at line 107 of file motion_safety.h.
shared_ptr<EncodersMonitor> MotionSafety::encoders_monitor_ [protected] |
Definition at line 117 of file motion_safety.h.
double MotionSafety::expected_mcu_status_frequency_ [protected] |
Definition at line 112 of file motion_safety.h.
ros::Time MotionSafety::last_commanded_movement_time_ [protected] |
Definition at line 82 of file motion_safety.h.
grizzly_msgs::RawStatusConstPtr MotionSafety::last_mcu_status_ [protected] |
Definition at line 97 of file motion_safety.h.
ros::Time MotionSafety::last_non_precharge_time_ [protected] |
Definition at line 83 of file motion_safety.h.
double MotionSafety::max_accel_ [protected] |
Definition at line 123 of file motion_safety.h.
double MotionSafety::max_cmd_drive_freq_ [protected] |
Definition at line 113 of file motion_safety.h.
double MotionSafety::min_cmd_drive_freq_ [protected] |
Definition at line 113 of file motion_safety.h.
shared_ptr<MotorsMonitor> MotionSafety::motor_drivers_monitor_ [protected] |
Definition at line 118 of file motion_safety.h.
ros::NodeHandle* MotionSafety::nh_ [protected] |
Definition at line 70 of file motion_safety.h.
ros::Publisher MotionSafety::pub_ambience_ [protected] |
Definition at line 103 of file motion_safety.h.
ros::Publisher MotionSafety::pub_estop_ [protected] |
Definition at line 104 of file motion_safety.h.
ros::Publisher MotionSafety::pub_safe_drive_ [protected] |
Definition at line 100 of file motion_safety.h.
double MotionSafety::radius_ [protected] |
Definition at line 122 of file motion_safety.h.
std::string MotionSafety::reason_ [protected] |
Definition at line 78 of file motion_safety.h.
ros::Duration MotionSafety::starting_duration_ [protected] |
Definition at line 86 of file motion_safety.h.
MotionState MotionSafety::state_ [protected] |
Definition at line 77 of file motion_safety.h.
ros::Subscriber MotionSafety::sub_drive_ [protected] |
Definition at line 96 of file motion_safety.h.
ros::Subscriber MotionSafety::sub_mcu_status_ [protected] |
Definition at line 96 of file motion_safety.h.
ros::Subscriber MotionSafety::sub_user_estop_ [protected] |
Definition at line 96 of file motion_safety.h.
ros::Time MotionSafety::transition_to_moving_time_ [protected] |
Definition at line 90 of file motion_safety.h.
ros::Timer MotionSafety::watchdog_timer_ [protected] |
Definition at line 76 of file motion_safety.h.
double MotionSafety::width_ [protected] |
Definition at line 121 of file motion_safety.h.