| 43 | } |
| 44 | |
| 45 | void GridMapVisual::setMessage(const grid_map_msgs::GridMap::ConstPtr& msg) { |
| 46 | // Convert grid map message. |
| 47 | grid_map::GridMapRosConverter::fromMessage(*msg, map_); |
| 48 | haveMap_ = true; |
| 49 | } |
| 50 | |
| 51 | void GridMapVisual::computeVisualization(float alpha, bool showGridLines, bool flatTerrain, std::string heightLayer, bool flatColor, |
| 52 | bool noColor, Ogre::ColourValue meshColor, bool mapLayerColor, std::string colorLayer, |