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

Rviz crashes when using Marker with frame_locked = True #479

Closed
xbaelus opened this issue Nov 19, 2019 · 1 comment · Fixed by #482
Closed

Rviz crashes when using Marker with frame_locked = True #479

xbaelus opened this issue Nov 19, 2019 · 1 comment · Fixed by #482
Assignees
Labels
bug Something isn't working

Comments

@xbaelus
Copy link

xbaelus commented Nov 19, 2019

Hi,
Running on Ubuntu 18.04, ROS version dashing. When trying to use Marker with frame_locked = True, Rviz crashes with the following exception:

terminate called after throwing an instance of 'std::runtime_error'
  what():  can't compare times with different time sources

even though there's only one node and time is obtained in exactly the same way in all parts of my application. There's a simple script to reproduce the issue (rviz_crash.py.txt); the crash occurs as soon as mesh_test topic is added to visualization in Rviz. There's also a thread on answers.ros.org about this.

@jacobperron jacobperron self-assigned this Nov 22, 2019
@jacobperron jacobperron added the bug Something isn't working label Nov 22, 2019
@jacobperron
Copy link
Member

jacobperron commented Nov 25, 2019

I think the bug is this line:

We should ensure that the zero timestamp has the appropriate clock type so that the comparison doesn't fail. I'll open a PR with a fix shortly.

jacobperron added a commit that referenced this issue Nov 26, 2019
Fixes #479

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
wjwwood pushed a commit that referenced this issue Dec 3, 2019
Fixes #479

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
jacobperron added a commit that referenced this issue Jul 20, 2020
Fixes #479

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
jacobperron added a commit that referenced this issue Jul 20, 2020
Fixes #479

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
jacobperron added a commit that referenced this issue Oct 26, 2020
Fixes #479

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
jacobperron added a commit that referenced this issue Oct 27, 2020
Fixes #479

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants