MCPcopy Create free account
hub / github.com/RoboJackets/software-training / SensorModel

Class SensorModel

localization/src/sensor_model.hpp:31–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29{
30
31class SensorModel
32{
33public:
34 virtual ~SensorModel() = default;
35 virtual double ComputeLogProb(const Particle & particle) = 0;
36 virtual double ComputeLogNormalizer() = 0;
37 virtual bool IsMeasurementAvailable(const rclcpp::Time & current_time) = 0;
38
39protected:
40 std::vector<double> covariance_;
41 double timeout_;
42};
43} // namespace localization
44
45

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected