![]() |
GT RoboCup SSL
Soccer software, robot firmware
|
Detects extremely fast kicks in the case where the 5 or more samples required by the slow kick detector would take too long to collect and still allow time to react to the ball. 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) |
Detects extremely fast kicks in the case where the 5 or more samples required by the slow kick detector would take too long to collect and still allow time to react to the ball.
Uses a very simple velocity change over 3 samples to test for kicks.
bool FastKickDetector::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 |