Particle clusterizer implementation.
More...
#include <cluster_based_estimation.hpp>
Particle clusterizer implementation.
Definition at line 268 of file cluster_based_estimation.hpp.
◆ ParticleClusterizer()
◆ neighbors()
auto beluga::ParticleClusterizer::neighbors |
( |
const Sophus::SE2d & |
pose | ) |
const |
|
inline |
Computes the neighboring cells for a given pose using the spatial hash function.
- Parameters
-
pose | The pose for which neighboring cells are computed. |
- Returns
- A range of spatial hashes corresponding to the neighboring cells.
Definition at line 278 of file cluster_based_estimation.hpp.
◆ operator()()
template<class States , class Weights >
auto beluga::ParticleClusterizer::operator() |
( |
States && |
states, |
|
|
Weights && |
weights |
|
) |
| |
|
inline |
Clusters the given particles based on their states and weights.
- Template Parameters
-
States | Range type of the states. |
Weights | Range type of the weights. |
- Parameters
-
states | Range containing the states of the particles. |
weights | Range containing the weights of the particles. |
- Returns
- A vector of cluster IDs corresponding to the input particles.
Definition at line 293 of file cluster_based_estimation.hpp.
◆ adjacent_grid_cells_
std::array<Sophus::SE2d, 6> beluga::ParticleClusterizer::adjacent_grid_cells_ |
|
private |
◆ parameters_
◆ spatial_hash_function_
The documentation for this class was generated from the following file:
double angular_hash_resolution
clustering algorithm angular resolution
ParticleClusterizerParam parameters_
Parameters for the particle clusterizer.
double linear_hash_resolution
clustering algorithm linear resolution