PlotJuggler / plotjuggler-ros-plugins

Many PlotJuggler plugins for ROS and ROS2.
GNU Affero General Public License v3.0
106 stars 44 forks source link

Plotjuggler crashes after subscribing to ROS topic (`Floating point truncated 1`) #8

Closed nspo closed 3 years ago

nspo commented 3 years ago

I'm using Plotjuggler 3.0.7 (Snap) on Ubuntu 18.04. Each time I subscribe to a specific ROS topic, Plotjuggler crashes immediately. It's possible other "bad" topics exist that make it crash but I identified at least one that's enough.

How to reproduce:

plotjuggler-crash-after-subscribing-ROS-topic.txt

A similar thing happens when trying to open the bag file directly without streaming and selecting the topic. In this case it catches the exception though:

plotjuggler-error-when-selecting-many-messages-from-bag

facontidavide commented 3 years ago

Ok. It is NOT supposed to crash (I need to fix this), but probably this is a duplicated issue:

https://github.com/facontidavide/PlotJuggler/issues/325

nspo commented 3 years ago

In case this has the same root cause (data in bag cannot be displayed due to integer values needing too many bits), would it not make sense to optionally allow this ("Allow integer adulteration? [yes/no]")?

The bag file indeed contains nanoseconds as integer data.

facontidavide commented 3 years ago

ploblem should be fixed

nspo commented 3 years ago

Great, thanks! Can't verify yet as the snap is still on 3.0.7 but will do when it's updated.