-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add global localization #91
Conversation
PASSED on kineticAll tests passed
|
PASSED on indigoAll tests passed
|
src/mcl_3dl.cpp
Outdated
@@ -467,6 +469,11 @@ class MCL3dlNode | |||
std::normal_distribution<float> aa(0.0, fabs(ang) * params_.odom_err_ang_ang); | |||
auto prediction_func = [this, &ll, &la, &al, &aa, &v, &r](State &s) | |||
{ | |||
if (fabs(s.rot.norm() - 1.0) > 0.1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
src/mcl_3dl.cpp
Outdated
auto p2 = p; | ||
p2.z += 0.21; | ||
if (!kdtree_->radiusSearch( | ||
p2, 0.2, id, sqdist, 1)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
floor detection parameter is currently hard coded
src/mcl_3dl.cpp
Outdated
} | ||
pcl::VoxelGrid<pcl::PointXYZI> ds; | ||
ds.setInputCloud(points.makeShared()); | ||
ds.setLeafSize(0.3, 0.3, 0.3); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hard-code
PASSED on kineticAll tests passed
|
PASSED on indigoAll tests passed
|
PASSED on kineticAll tests passed
|
PASSED on indigoAll tests passed
|
PASSED on kineticAll tests passed
|
PASSED on indigoAll tests passed
|
src/mcl_3dl.cpp
Outdated
imu_quat_.x = msg->orientation.x; | ||
imu_quat_.y = msg->orientation.y; | ||
imu_quat_.z = msg->orientation.z; | ||
imu_quat_.w = msg->orientation.w; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
transform required here
PASSED on kineticAll tests passed
|
PASSED on indigoAll tests passed
|
fixes #4