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

Function Documentation

bool grid_map::colorValueToVector(const float &colorValue, Eigen::Vector3f &colorVector)

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

Parameters:
  • colorValue[in] the concatenated RGB color value.

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

Returns:

true if successful.