PlotJuggler
PlotJuggler copied to clipboard
ROS topic cannot be loaded
Hi, first of all thank you for this great tool! It really is a game changer.
I am facing a problem when trying to load a custom message from a rosbag. After opening a rosbag and selecting the topic the following exception occurs:
The plugin [DataLoad ROS bags] thrown the following exception: Buffer overrun in RosIntrospection::ReadFromBuffer
I am using plotjuggler 3.1.2 with ros-melodic on ubuntu-18.04 The used rosbag is the following (only contains a single topic): 2021-06-14-09-48-08.zip
Any ideas how this can be solved?
I will have a look.
@facontidavide do you have any idea what this could be? I am also happy to try to fix this myself but I would be glad about some pointers in the right direction.
I can see that there is something wrong in the message definition.
"# All readings of the Ascento robot. sensor_msgs/Imu imu_measurement encoder_tools_ros/MeasurementMe"
The definition of encoder_tools_ros is missing and PlotJuggler can't understand this message.
This is a known problem when rosbridge is used. Is this your case?
Interesting, no we do not use rosbridge. I will investigate this wrong message definition, thanks!
How did you extract the message definition from the bag? I just tried it with the script from here and got the correct message definition:
# All readings of the Ascento robot. sensor_msgs/Imu imu_measurement encoder_tools_ros/MeasurementMessage[2] hip_encoder_measurements rotary_actuator_ros/ReadingMessage[2] leg_readings rotary_actuator_ros/ReadingMessage[2] wheel_readings