6 #ifndef YOCS_SAFETY_CONTROLLER_HPP_ 7 #define YOCS_SAFETY_CONTROLLER_HPP_ 14 #include <geometry_msgs/Twist.h> 16 #include <std_msgs/Empty.h> 17 #include <sensor_msgs/Range.h> 94 void enableCB(
const std_msgs::EmptyConstPtr msg);
100 void disableCB(
const std_msgs::EmptyConstPtr msg);
106 void rangerCB(
const sensor_msgs::RangeConstPtr msg);
112 #endif // YOCS_SAFETY_CONTROLLER_HPP_
ros::Time reversing_start_
ros::Subscriber ranger_subscriber_
void rangerCB(const sensor_msgs::RangeConstPtr msg)
Keeps track of rangers.
double reversing_velocity_
ros::Subscriber enable_controller_subscriber_
ros::Subscriber disable_controller_subscriber_
ros::Publisher controller_state_publisher_
void disableCB(const std_msgs::EmptyConstPtr msg)
ROS logging output for disabling the controller.
ros::Publisher velocity_command_publisher_
SafetyController(ros::NodeHandle &nh_priv, const std::string &name)
double reversing_distance_
void enableCB(const std_msgs::EmptyConstPtr msg)
ROS logging output for enabling the controller.
geometry_msgs::TwistPtr cmd_vel_msg_
ros::Duration reversing_duration_