Function grid_map::colorVectorToValue(const Eigen::Vector3f&, float&)

Function Documentation

void grid_map::colorVectorToValue(const Eigen::Vector3f &colorVector, float &colorValue)

Transforms a color vector (RGB from 0.0-1.0) to a concatenated 3 single-byte float value.

Parameters:
  • colorVector[in] the color vector in RGB from 0.0-1.0.

  • colorValue[out] the concatenated RGB color value.