scenario_simulator_v2 C++ API
Functions
color_utils Namespace Reference

Functions

void printRed (const std::string &text)
 
void printGreen (const std::string &text)
 
void printYellow (const std::string &text)
 
void printBlue (const std::string &text)
 
void printMagenta (const std::string &text)
 
void printCyan (const std::string &text)
 
void printWhite (const std::string &text)
 
const std_msgs::msg::ColorRGBA fromRgba (double r, double g, double b, double alpha)
 generate std_msgs::msg::ColorRGBA message from rgb values More...
 

Function Documentation

◆ fromRgba()

const std_msgs::msg::ColorRGBA color_utils::fromRgba ( double  r,
double  g,
double  b,
double  alpha 
)

generate std_msgs::msg::ColorRGBA message from rgb values

Parameters
rred
ggreen
bblue
alphaalpha value of the color
Returns
std_msgs::msg::ColorRGBA

◆ printBlue()

void color_utils::printBlue ( const std::string &  text)

◆ printCyan()

void color_utils::printCyan ( const std::string &  text)

◆ printGreen()

void color_utils::printGreen ( const std::string &  text)

◆ printMagenta()

void color_utils::printMagenta ( const std::string &  text)

◆ printRed()

void color_utils::printRed ( const std::string &  text)

◆ printWhite()

void color_utils::printWhite ( const std::string &  text)

◆ printYellow()

void color_utils::printYellow ( const std::string &  text)