|
enum | Team { YELLOW,
BLUE
} |
|
◆ WorldRobot() [1/2]
WorldRobot::WorldRobot |
( |
| ) |
|
Creates an invalid world robot.
This is so the World can create a full list of robots without dealing with holes It's a little less efficient, but it makes things much cleaner code-wise
◆ WorldRobot() [2/2]
WorldRobot::WorldRobot |
( |
RJ::Time |
calcTime, |
|
|
Team |
team, |
|
|
int |
robotID, |
|
|
std::list< KalmanRobot > |
kalmanRobots |
|
) |
| |
Creates a valid world robot.
- Parameters
-
robotID | The ID of the robot |
team | The team color |
kalmanRobots | List of kalman robots from each of the cameras to merger |
◆ getIsValid()
bool WorldRobot::getIsValid |
( |
| ) |
const |
- Returns
- If the robot actually represents a real robot
◆ getOmega()
double WorldRobot::getOmega |
( |
| ) |
const |
- Returns
- The best estimated angular velocity of the robot
◆ getPos()
- Returns
- The best estimated position of the robot
◆ getPosCov()
double WorldRobot::getPosCov |
( |
| ) |
const |
- Returns
- The average position covariance of the filter including theta
◆ getRobotComponents()
const std::list< KalmanRobot > & WorldRobot::getRobotComponents |
( |
| ) |
const |
- Returns
- List of all the building kalman robots for this world robot
◆ getRobotID()
int WorldRobot::getRobotID |
( |
| ) |
const |
◆ getTeamColor()
Team WorldRobot::getTeamColor |
( |
| ) |
const |
- Returns
- Enum value representing team color
◆ getTheta()
double WorldRobot::getTheta |
( |
| ) |
const |
- Returns
- The best estimated heading of the robot
◆ getTime()
RJ::Time WorldRobot::getTime |
( |
| ) |
const |
- Returns
- Time of creation for the robot estimate
◆ getVel()
- Returns
- The best estimated velocity of the robot
◆ getVelCov()
double WorldRobot::getVelCov |
( |
| ) |
const |
- Returns
- The average velocity covariance of the filter including omega
The documentation for this class was generated from the following files: