![]() |
GT RoboCup SSL
Soccer software, robot firmware
|
Accurately detects kicks by robots using 5 or more samples in history. More...
Public Member Functions | |
bool | addRecord (RJ::Time calcTime, WorldBall ball, std::vector< WorldRobot > yellowRobots, std::vector< WorldRobot > blueRobots, KickEvent &kickEvent) |
Adds a record to our history list. More... | |
Static Public Member Functions | |
static void | createConfiguration (Configuration *cfg) |
Accurately detects kicks by robots using 5 or more samples in history.
Used in the general case when we have time to take a second and double check results before sending it back
bool SlowKickDetector::addRecord | ( | RJ::Time | calcTime, |
WorldBall | ball, | ||
std::vector< WorldRobot > | yellowRobots, | ||
std::vector< WorldRobot > | blueRobots, | ||
KickEvent & | kickEvent | ||
) |
Adds a record to our history list.
calcTime | Time of calculation for this vision loop |
ball | Best estimation of the current ball |
yellowRobots | Best estimation of the yellow robots |
blueRobots | Best estimation of the blue robots |
kickEvent | Returned kick event if we find one |