Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Commit

Permalink
Remove deprecation warning for max_range, warning will be in Jade
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBrewCrew committed Jul 30, 2015
1 parent 83bf909 commit 1acf916
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,7 @@ bool PointCloudOctomapUpdater::setParams(XmlRpc::XmlRpcValue &params)
return false;
point_cloud_topic_ = static_cast<const std::string&>(params["point_cloud_topic"]);

if (params.hasMember("max_range"))
{
ROS_WARN("max_range is deprecated, use obstacle_range instead");
readXmlParam(params, "max_range", &obstacle_range_);
}
readXmlParam(params, "max_range", &obstacle_range_);
readXmlParam(params, "obstacle_range", &obstacle_range_);
readXmlParam(params, "raytrace_range", &raytrace_range_);
readXmlParam(params, "padding_offset", &padding_);
Expand Down

0 comments on commit 1acf916

Please sign in to comment.