Function mppi::utils::createColor

Function Documentation

inline std_msgs::msg::ColorRGBA mppi::utils::createColor(float r, float g, float b, float a)

Convert data into color.

Parameters:
  • r – Red component

  • g – Green component

  • b – Blue component

  • a – Alpha component (transparency)

Returns:

Color object