Skip to content
Snippets Groups Projects
Commit 9308eb08 authored by Rescue Group's avatar Rescue Group
Browse files

Merge 192.168.100.41:workspace/ros/crosbot/src

parents f759cf70 2e957008
Branches
No related tags found
No related merge requests found
...@@ -94,6 +94,10 @@ public: ...@@ -94,6 +94,10 @@ public:
voronoiConstraints.expand = voronoiCfg->getParamAsDouble("expand", voronoiConstraints.expand); voronoiConstraints.expand = voronoiCfg->getParamAsDouble("expand", voronoiConstraints.expand);
voronoiConstraints.orphanThreshold = voronoiCfg->getParamAsInt("orphan", voronoiConstraints.orphanThreshold); voronoiConstraints.orphanThreshold = voronoiCfg->getParamAsInt("orphan", voronoiConstraints.orphanThreshold);
} }
if (cfg != NULL) {
drive.maxVel = cfg->getParamAsDouble("maxVel", drive.maxVel);
drive.maxTurn = cfg->getParamAsDouble("maxTurn", drive.maxTurn);
}
gridSub = nh.subscribe("map", 1, &ExplorerNode::callbackOccGrid, this); gridSub = nh.subscribe("map", 1, &ExplorerNode::callbackOccGrid, this);
historySub = nh.subscribe("history", 1, &ExplorerNode::callbackHistory, this); historySub = nh.subscribe("history", 1, &ExplorerNode::callbackHistory, this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment