Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/particle_filter/ImportanceResampling.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ImportanceResampling : public ResamplingStrategy<StateType> {
/**
* The constructor of this base class inits some members.
*/
explicit ImportanceResampling<StateType>(bool reset_weights = false, double particle_reset_weight = 0);
explicit ImportanceResampling(bool reset_weights = false, double particle_reset_weight = 0);

/**
* The destructor is empty.
Expand Down
2 changes: 1 addition & 1 deletion include/particle_filter/Particle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Particle {
* @param state The initial state of the particle
* @param weight The initial weight of the particle
*/
Particle<StateType>(const StateType& state, double weight);
Particle(const StateType& state, double weight);

/**
* The destructor is empty.
Expand Down
4 changes: 2 additions & 2 deletions include/particle_filter/ParticleFilter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ class ParticleFilter {
* @param os ObservationModel to use for weighting particles
* @param ms MovementModel to use for propagation of particles
*/
ParticleFilter<StateType>(unsigned int numParticles, std::shared_ptr<ObservationModel<StateType>> os,
std::shared_ptr<MovementModel<StateType>> ms);
ParticleFilter(unsigned int numParticles, std::shared_ptr<ObservationModel<StateType>> os,
std::shared_ptr<MovementModel<StateType>> ms);

/**
* The destructor releases the particle lists.
Expand Down
2 changes: 1 addition & 1 deletion include/particle_filter/StateDistribution.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class StateDistribution {
/**
* The constructor of this base class is empty.
*/
StateDistribution<StateType>();
StateDistribution();

/**
* The destructor is empty.
Expand Down
Loading