Function grid_map_visualization::getColorMessageFromColorVector

Function Documentation

void grid_map_visualization::getColorMessageFromColorVector(std_msgs::msg::ColorRGBA &colorMessage, const Eigen::Vector3f &colorVector, bool resetTransparency = true)

Create a color message from a color vector.

Parameters:
  • colorMessage[out] the color message.

  • colorVector[in] the color vector

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