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

Function Documentation

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

Transforms an int color value (concatenated RGB values) to an int color vector (RGB from 0-255).

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

  • colorVector[out] the color vector in RGB from 0-255.

Returns:

true if successful.