update obstacle_layer
This commit is contained in:
@@ -51,8 +51,16 @@
|
||||
#include <robot_sensor_msgs/PointCloud2.h>
|
||||
#include <robot_sensor_msgs/point_cloud_conversion.h>
|
||||
|
||||
#include <robot/console.h>
|
||||
|
||||
namespace robot_costmap_2d
|
||||
{
|
||||
struct CallBackInfo
|
||||
{
|
||||
std::string data_type;
|
||||
std::string topic;
|
||||
bool inf_is_valid;
|
||||
};
|
||||
|
||||
class ObstacleLayer : public CostmapLayer
|
||||
{
|
||||
@@ -167,6 +175,7 @@ protected:
|
||||
bool stop_receiving_data_ = false;
|
||||
|
||||
int combination_method_;
|
||||
std::vector<CallBackInfo> callback_infos_;
|
||||
|
||||
private:
|
||||
bool getParams(const std::string& config_file_name, robot::NodeHandle &nh);
|
||||
|
||||
Reference in New Issue
Block a user