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

Function Documentation

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

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

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

  • colorValue[out] the concatenated RGB color value.

Returns:

true if successful.