GT RoboCup SSL
Soccer software, robot firmware
CameraFrame Class Reference

Simple non-protobuf object representing a camera frame. More...

Public Member Functions

 CameraFrame (RJ::Time tCapture, int cameraID, std::vector< CameraBall > cameraBalls, std::vector< CameraRobot > cameraRobotsYellow, std::vector< CameraRobot > cameraRobotsBlue)
 Creates a camera frame directly from the protobuf packets. More...
 

Public Attributes

RJ::Time tCapture
 
int cameraID
 
std::vector< CameraBallcameraBalls
 
std::vector< CameraRobotcameraRobotsYellow
 
std::vector< CameraRobotcameraRobotsBlue
 

Detailed Description

Simple non-protobuf object representing a camera frame.

+ Collaboration diagram for CameraFrame:

Constructor & Destructor Documentation

◆ CameraFrame()

CameraFrame::CameraFrame ( RJ::Time  tCapture,
int  cameraID,
std::vector< CameraBall cameraBalls,
std::vector< CameraRobot cameraRobotsYellow,
std::vector< CameraRobot cameraRobotsBlue 
)
inline

Creates a camera frame directly from the protobuf packets.

Parameters
tCaptureTime the frame was captured
cameraIDID of the camera this frame corresponds to
cameraBallsUnsorted list of ball detections
cameraRobotsYellowUnsorted list of yellow team robot detections
cameraRobotsBlueUnsorted list of blue team robot detections

The documentation for this class was generated from the following file: