update
This commit is contained in:
parent
a8fc8cb9a4
commit
03c151afd2
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user