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

Function Documentation

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

Transforms an int color value (concatenated RGB values) 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.