|
Thunderbots Project
|
#include <sensor_fusion.h>
Public Member Functions | |
| SensorFusion (TbotsProto::SensorFusionConfig sensor_fusion_config) | |
| void | processSensorProto (const SensorProto &sensor_msg) |
| std::optional< World > | getWorld () const |
Sensor Fusion is an abstraction around all filtering operations that our system may need to perform. It produces Worlds that may be used, and consumes SensorProtos
|
explicit |
Creates a SensorFusion with a sensor_fusion_config
| sensor_fusion_config | The config to fetch parameters from |
| std::optional< World > getWorld | ( | ) | const |
Returns the most up-to-date world if enough data has been received to create one.
| void processSensorProto | ( | const SensorProto & | sensor_msg | ) |
Processes a new SensorProto, which may update the latest representation of the World
| new | data |