-
Notifications
You must be signed in to change notification settings - Fork 13
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
Visualize science data as points #88
Conversation
e1eecdd
to
6a353c1
Compare
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
…nce, grid improvements Signed-off-by: Louise Poubel <[email protected]>
b5c2c9f
to
4e110ea
Compare
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
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.
The visualization works.
There is, however, a black dot at exactly the origin for all the topics. I see it in your animation too. Is it by design, to help find the origin?
It overlaps with the actual marker at the origin, so the color of the actual marker (see below) isn't visible.
In case it's not by design, I looked in the following places and couldn't find where it comes from.
There isn't a marker with any of RGB components <= 0:
if ((color.R() < 1e-6) &&
(color.G() < 1e-6) &&
(color.B() < 1e-6))
{
ignerr << color << std::endl;
}
The marker at the origin is not black:
if ((fabs(*iterX) < 1e-6) &&
(fabs(*iterY) < 1e-6) &&
(fabs(*iterZ) < 1e-6))
{
ignerr << color << std::endl;
}
[GUI] [Err] [VisualizePointCloud.cc:396] 0.530241 0.469759 0 1
If I skip the origin, the black dot is still there:
if ((fabs(*iterX) < 1e-6) &&
(fabs(*iterY) < 1e-6) &&
(fabs(*iterZ) < 1e-6))
continue;
I looked at whether it has anything to do with marker ID 0 (the DELETE_ALL) one. It doesn't seem to be, in that if I use the same ID for both the marker array and the delete marker, it didn't make any difference.
I tried adding isinf()
to the existing isnan()
clause, but that didn't get rid of the black dot.
Ha, glad that you found a use for it. And thanks for the debugging! It was a bug, fixed in gazebosim/gz-rendering#519 |
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
|
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
|
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
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.
Bye 2021
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Part of
Builds on top of
Requires
Nice to have
This PR changes the science data visualization from boxes to points, which brings these advantages:
Tasks
I'm debugging against all the data we have to see if we can get rid of all hacks. May need to bring some of them back if performance can't be improved without them.No hacks are needed 😄ViewAngle
to the world so we can easily change the clip at runtimeFuture
Nice-to-have:
Here's the data with the axes added in #104 , left is ENU, right is NED: