Skip to content

Commit

Permalink
Initial guess wider yaw
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Jul 6, 2024
1 parent 678bd9f commit 6ea9724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/localization_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ void LocalizationPlugin::initParticleFilterUniform(const geo::Transform2& pose)
{
const geo::Vec2& p = pose.getOrigin();
const double yaw = pose.rotation();
particle_filter_.initUniform(p - geo::Vec2(0.3, 0.3), p + geo::Vec2(0.3, 0.3), yaw - 0.15, yaw + 0.15);
particle_filter_.initUniform(p - geo::Vec2(0.3, 0.3), p + geo::Vec2(0.3, 0.3), yaw - 0.3, yaw + 0.3);
have_previous_odom_pose_ = false;
resample_count_ = 0;
}
Expand Down

0 comments on commit 6ea9724

Please sign in to comment.