TechTheTime-HighLevel 0.0.1
The high level robot's code using ros2-foxy for the robotics competition(Erobot-2022)
order_reader Namespace Reference

Functions

std::tuple< OrderCodes, double, int64_t, double > get_order_as_tuple (std::string str)
 

Variables

std::map< std::string, OrderCodes > str_to_order_code
 

Function Documentation

◆ get_order_as_tuple()

std::tuple< OrderCodes, double, int64_t, double > get_order_as_tuple ( std::string  str)

Variable Documentation

◆ str_to_order_code

std::map< std::string, OrderCodes > str_to_order_code
extern
Initial value:
{
{"move", OrderCodes::MOVE},
{"rotate_left", OrderCodes::START_ROTATE_LEFT},
{"rotate_right", OrderCodes::START_ROTATE_RIGHT}
}