GT RoboCup SSL
Soccer software, robot firmware
World Class Reference

Keeps list of all the cameras and sends camera data down to the correct location. More...

Public Member Functions

void updateWithCameraFrame (RJ::Time calcTime, const std::vector< CameraFrame > &newFrames)
 Updates all the child cameras given a set of new camera frames. More...
 
void updateWithoutCameraFrame (RJ::Time calcTime)
 Updates all the child cameras when there are no new camera frames. More...
 
const WorldBallgetWorldBall () const
 
const std::vector< WorldRobot > & getRobotsYellow () const
 
const std::vector< WorldRobot > & getRobotsBlue () const
 
const KickEventgetBestKickEstimate () const
 

Static Public Member Functions

static void createConfiguration (Configuration *cfg)
 

Detailed Description

Keeps list of all the cameras and sends camera data down to the correct location.

Member Function Documentation

◆ getBestKickEstimate()

const KickEvent & World::getBestKickEstimate ( ) const
Returns
The best kick estimate over the last few seconds

◆ getRobotsBlue()

const std::vector< WorldRobot > & World::getRobotsBlue ( ) const
Returns
List of the best estimates of all the blue robots

◆ getRobotsYellow()

const std::vector< WorldRobot > & World::getRobotsYellow ( ) const
Returns
List of the best estimates of all the yellow robots

◆ getWorldBall()

const WorldBall & World::getWorldBall ( ) const
Returns
Best estimate of the ball

◆ updateWithCameraFrame()

void World::updateWithCameraFrame ( RJ::Time  calcTime,
const std::vector< CameraFrame > &  newFrames 
)

Updates all the child cameras given a set of new camera frames.

Parameters
calcTimeCurrent iteration time
newFramesList of new frames from ssl vision
Note
Call this OR updateWithoutCameraFrame ONCE an iteration

◆ updateWithoutCameraFrame()

void World::updateWithoutCameraFrame ( RJ::Time  calcTime)

Updates all the child cameras when there are no new camera frames.

Parameters
calcTimeCurrent iteration time
Note
Call this OR updateWithCameraFrame ONCE an iteration

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