-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Wrong accumulated_range_data_.origin in local_trajectory_builder.cc?? #1242
Comments
Is this the same as #947? |
@gaschler It's not. |
@gaschler Do you mean that the next release will fix this? Because i did't find the fix in the newest commit yet. |
There is no estimated time. |
@gaschler Thank you for your patience! |
It's about the code! I don't know if this is wrong but it's confusing me a lot? Much appreciated if anyone can help me out!
Well the question is about a piece of code in function AddRangeDate in local_trajectory_builder_2d.cc . It tries to convert RangeData from tracking frame to local frame and put them into the "accumulated_range_data_" :
if (range >= options_.min_range()) {
well now "hit in local " and "misses in local" are pushed back into returns and misses of RandeData separately.
However, the origin of the RangeDate is set as follow:
accumulated_range_data_.origin = range_data_poses.back().translation();
Shouldn't its origin be set as "origin in local " as well?
Here it takes the origin of tracking frame as the origin of RangeData origin. But the PointClouds are not necessarily collected from tracking frame. For example, I set the "track frame" as "base_link", and PointClouds are collected from camera frame. There can be an offset bewteen these two and may not just in z direction, which would make no difference in case of 2d then......
I don't know if i make myself understood here. Anyway, look forward to some reply here.
Thanks!
The text was updated successfully, but these errors were encountered: