Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
color.cpp File Reference
Include dependency graph for color.cpp:

Go to the source code of this file.

Namespaces

namespace  common_lib
 
namespace  common_lib::competition_logic
 Enum for colors.
 

Functions

std::string common_lib::competition_logic::get_color_string (int color)
 
std::string common_lib::competition_logic::get_color_string (Color color)
 
Color common_lib::competition_logic::get_color_enum (const std::string &color)
 
bool common_lib::competition_logic::operator== (const Color &color, const int &value)
 
bool common_lib::competition_logic::operator== (const int &value, const Color &color)
 

Variables

const std::map< std::string, Color, std::less<> > common_lib::competition_logic::STRING_TO_COLOR
 
const std::map< Color, std::string > common_lib::competition_logic::COLOR_TO_STRING