◆ RobotFilter()
Creates a new robot filter
- Parameters
-
| current_robot_state | the data of current state of the robot |
| expiry_buffer_duration | the time when the robot is determined to be removed from the field if data about the robot is not received before that time |
◆ getFilteredData()
Updates the filter given a new set of data, and returns the most up to date filtered data for the Robot.
- Parameters
-
| new_robot_data | A list of SSLRobot detections containing new robot data. The data does not all have to be for a particular Robot, the filter will only use the new Robot data that matches the robot id the filter was constructed with. |
- Returns
- The filtered data for the robot
◆ getRobotId()
| unsigned int getRobotId |
( |
| ) |
const |
Returns the id of the Robot that this filter is filtering for
- Returns
- the id of the Robot that this filter is filtering for
The documentation for this class was generated from the following files:
- src/software/sensor_fusion/filter/robot_filter.h
- src/software/sensor_fusion/filter/robot_filter.cpp