update
This commit is contained in:
@@ -573,6 +573,7 @@ void Costmap2DROBOT::readFootprintFromConfig(const std::vector<robot_geometry_ms
|
||||
|
||||
void Costmap2DROBOT::setUnpaddedRobotFootprint(const std::vector<robot_geometry_msgs::Point>& points)
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(configuration_mutex_);
|
||||
unpadded_footprint_ = points;
|
||||
padded_footprint_ = points;
|
||||
padFootprint(padded_footprint_, footprint_padding_);
|
||||
@@ -604,6 +605,7 @@ void Costmap2DROBOT::mapUpdateLoop(double frequency)
|
||||
|
||||
void Costmap2DROBOT::updateMap()
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(configuration_mutex_);
|
||||
if (!stop_updates_)
|
||||
{
|
||||
// get global pose
|
||||
|
||||
Reference in New Issue
Block a user