![]() |
GT RoboCup SSL
Soccer software, robot firmware
|
Wrapper for the protobuf observation. More...
Public Member Functions | |
CameraRobot (RJ::Time timeCaptured, Geometry2d::Point pos, double theta, int robotID) | |
RJ::Time | getTimeCaptured () const |
Geometry2d::Point | getPos () const |
double | getTheta () const |
int | getRobotID () const |
Static Public Member Functions | |
static CameraRobot | CombineRobots (const std::list< CameraRobot > &robots) |
Combines all the robots in the list and returns a robot with the average pos, time, and theta. More... | |
Wrapper for the protobuf observation.
|
inline |
timeCaptured | Time the frame was captured |
pos | Position of the robot observation |
theta | Heading of the robot observation |
robotID | ID of the robot |
|
static |
Combines all the robots in the list and returns a robot with the average pos, time, and theta.
robots | The list of robots to combine |
Note: All robots must have the same robotID
Geometry2d::Point CameraRobot::getPos | ( | ) | const |
int CameraRobot::getRobotID | ( | ) | const |
double CameraRobot::getTheta | ( | ) | const |
RJ::Time CameraRobot::getTimeCaptured | ( | ) | const |