diff --git a/include/robot_costmap_2d/costmap_2d_robot.h b/include/robot_costmap_2d/costmap_2d_robot.h index 7168336..164d4df 100755 --- a/include/robot_costmap_2d/costmap_2d_robot.h +++ b/include/robot_costmap_2d/costmap_2d_robot.h @@ -74,12 +74,6 @@ public: namespace robot_costmap_2d { - void signalHandler(int) - { - std::signal(SIGINT, SIG_DFL); - std::raise(SIGINT); - } - /** @brief A ROS wrapper for a 2D Costmap. Handles subscribing to * topics that provide observations about obstacles in either the form * of PointCloud or LaserScan messages. */ diff --git a/src/costmap_2d_robot.cpp b/src/costmap_2d_robot.cpp index 3eed4a1..46fdf81 100644 --- a/src/costmap_2d_robot.cpp +++ b/src/costmap_2d_robot.cpp @@ -67,7 +67,6 @@ Costmap2DROBOT::Costmap2DROBOT(const std::string& name, tf3::BufferCore& tf) : map_update_thread_(NULL), footprint_padding_(0.0) { - std::signal(SIGINT, signalHandler); robot::NodeHandle nh("~"); robot::NodeHandle priv_nh(nh, name); name_ = name;