MCPcopy Create free account
hub / github.com/ANYbotics/grid_map / setMessage

Method setMessage

grid_map_rviz_plugin/src/GridMapVisual.cpp:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void 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
51void GridMapVisual::computeVisualization(float alpha, bool showGridLines, bool flatTerrain, std::string heightLayer, bool flatColor,
52 bool noColor, Ogre::ColourValue meshColor, bool mapLayerColor, std::string colorLayer,

Callers 1

processMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected