update obstacle_layer
This commit is contained in:
@@ -55,7 +55,9 @@
|
||||
|
||||
#include <robot/node_handle.h>
|
||||
#include <robot/plugin_loader_helper.h>
|
||||
class SuperValue : public robot::XmlRpc::XmlRpcValue
|
||||
#include <csignal>
|
||||
|
||||
class RobotSuperValue : public robot::XmlRpc::XmlRpcValue
|
||||
{
|
||||
public:
|
||||
void setStruct(robot::XmlRpc::XmlRpcValue::ValueStruct* a)
|
||||
@@ -73,6 +75,12 @@ 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. */
|
||||
|
||||
Reference in New Issue
Block a user