GT RoboCup SSL
Soccer software, robot firmware
BallBounce Class Reference

Public Member Functions

 BallBounce ()=delete
 These functions are wrapped into a class instead of a namespace so that the config system can be used. More...
 

Static Public Member Functions

static bool CalcBallBounce (const KalmanBall &ball, const std::vector< WorldRobot > &yellowRobots, const std::vector< WorldRobot > &blueRobots, Geometry2d::Point &outNewVel)
 Calculates whether the given kalman ball will bounce against another robot and the resulting velocity vector. More...
 
static void createConfiguration (Configuration *cfg)
 

Constructor & Destructor Documentation

◆ BallBounce()

BallBounce::BallBounce ( )
delete

These functions are wrapped into a class instead of a namespace so that the config system can be used.

It requires a class with the REGISTER_CONFIGUABLE define. Additionally, this allows for the extra helper functions to be hidden.

Member Function Documentation

◆ CalcBallBounce()

bool BallBounce::CalcBallBounce ( const KalmanBall ball,
const std::vector< WorldRobot > &  yellowRobots,
const std::vector< WorldRobot > &  blueRobots,
Geometry2d::Point outNewVel 
)
static

Calculates whether the given kalman ball will bounce against another robot and the resulting velocity vector.

Parameters
ballKalman ball we are trying to test
yellowRobotsBest estimation of the yellow robots states
blueRobotsBest estimation of the yellow robots states
outNewVelOutput of the resulting velocity vector after bounce
Returns
Whether the ball bounces or not

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