Function grid_map_visualization::setColorFromColorValue

Function Documentation

void grid_map_visualization::setColorFromColorValue(std_msgs::msg::ColorRGBA &color, const uint64_t &colorValue, bool resetTransparency = true)

Sets a color message from a color value.

Parameters:
  • color[out] the color message.

  • colorValue[in] the color value.

  • resetTransparency[in] if transparency should be reset (to fully visible) or left at current value.