Likelihood field common sensor model for range finders.
More...
#include <likelihood_field_model_base.hpp>
template<class OccupancyGrid>
class beluga::LikelihoodFieldModelBase< OccupancyGrid >
Likelihood field common sensor model for range finders.
This model relies on a pre-computed likelihood map of the environment. It is less computationally intensive than the beluga::BeamSensorModel because no ray-tracing is required, and it can also provide better performance in environments with non-smooth occupation maps. See Probabilistic Robotics [5], Chapter 6.4, for further reference.
- Note
- This class satisfies Beluga named requirements: SensorModel.
- Template Parameters
-
◆ LikelihoodFieldModelBase()
template<class OccupancyGrid >
Constructs a LikelihoodFieldCommonModel instance.
- Parameters
-
params | Parameters to configure this instance. See beluga::LikelihoodFieldModelBase for details. |
grid | Occupancy grid representing the static map that the sensor model uses to compute a likelihood field for lidar hits and compute importance weights for particle states. |
◆ make_likelihood_field()
template<class OccupancyGrid >
Creates a likelihood field from an occupancy grid.
- Parameters
-
params | Parameters to configure the likelihood field. |
grid | Occupancy grid representing the static map. |
- Returns
- Likelihood field computed from the occupancy grid.
Pre-computed variables
◆ update_map()
template<class OccupancyGrid >
Update the sensor model with a new occupancy grid map.
This method re-computes the underlying likelihood field.
- Parameters
-
grid | New occupancy grid representing the static map. |
◆ likelihood_field_
template<class OccupancyGrid >
Likelihood field computed from the occupancy grid map.
◆ params_
template<class OccupancyGrid >
Parameters configuring the likelihood field model.
◆ world_to_likelihood_field_transform_
template<class OccupancyGrid >
Transformation from world coordinates to the likelihood field coordinate system.
The documentation for this class was generated from the following file: