Skip to content
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

Trajectory visualization crashes #366

Closed
wohe opened this issue Jun 8, 2017 · 2 comments
Closed

Trajectory visualization crashes #366

wohe opened this issue Jun 8, 2017 · 2 comments

Comments

@wohe
Copy link
Member

wohe commented Jun 8, 2017

RViz crashes after a while when trajectory visualization is enabled.

Reading through the RViz code it seems the line strip marker does not support lines with more than 16384 points. See
https://github.com/ros-visualization/rviz/blob/kinetic-devel/src/rviz/ogre_helpers/billboard_line.cpp. Maybe this is the issue?

Possible solution: Split longer trajectories into multiple line strip markers and see whether this fixes the crashes.

@ojura Do you want to try a fix? Feel free to unassign if you would prefer me to look into it.

@wohe
Copy link
Member Author

wohe commented Jun 8, 2017

@ojura Seems I cannot assign you myself. Please let me know what you think.

@ojura
Copy link
Contributor

ojura commented Jun 8, 2017

I cannot assign myself either :-) I have reproduced it. I agree, it should be enough to just limit each visualization_msgs::Marker to 16384 (16383?) points, and to push as many additional markers as needed into the marker array.

@wohe wohe closed this as completed in #367 Jun 9, 2017
wohe pushed a commit that referenced this issue Jun 9, 2017
Rviz has a limit of 16384 points per marker. To get around this, each
trajectory is split into multiple markers, each up to 16384 points.
Fixes #366.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants