Function etsi_its_spatem_ts_msgs::access::interpretMovementPhaseStateAsColor

Function Documentation

inline std::array<float, 4> etsi_its_spatem_ts_msgs::access::interpretMovementPhaseStateAsColor(const uint8_t value)

Interprets the MovementPhaseState type as a color (see etsi definition)

Parameters:

value – Encoded color value from msg type MovementPhaseState

Returns:

4-dimensional array with color values as follows: r, g, b, a, each of these values within a range between [0, 1]