|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
#include <ref_serial_data.hpp>

Classes | |
| class | RobotToRobotMessageHandler |
| class | Rx |
| class | Tx |
Public Types | |
| enum class | RobotId : uint16_t { INVALID = 0 , RED_HERO = 1 , RED_ENGINEER = 2 , RED_SOLDIER_1 = 3 , RED_SOLDIER_2 = 4 , RED_SOLDIER_3 = 5 , RED_DRONE = 6 , RED_SENTINEL = 7 , RED_DART = 8 , RED_RADAR_STATION = 9 , BLUE_HERO = 101 , BLUE_ENGINEER = 102 , BLUE_SOLDIER_1 = 103 , BLUE_SOLDIER_2 = 104 , BLUE_SOLDIER_3 = 105 , BLUE_DRONE = 106 , BLUE_SENTINEL = 107 , BLUE_DART = 108 , BLUE_RADAR_STATION = 109 } |
Static Public Member Functions | |
| static bool | isBlueTeam (RobotId id) |
Contains enum and struct definitions used in the RefSerial class.
|
strong |
When receiving data about other robots or sending data to other robots, they are identified by the numbers below
|
inlinestatic |
true if the specified id is on the blue team, false if on the red team.