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

Plotjuggler does not show correct values with ROS1 #904

Closed
NR-Daichi opened this issue Jan 3, 2024 · 10 comments
Closed

Plotjuggler does not show correct values with ROS1 #904

NR-Daichi opened this issue Jan 3, 2024 · 10 comments

Comments

@NR-Daichi
Copy link

NR-Daichi commented Jan 3, 2024

Problem description

When plotjuggler is subscribing odometry topic with ROS1, the values in pose/pose/position and pose/pose/orientation are very huge values (> trillion) or 0
For the details, please watch the attached video

Kazam_screencast_00000.mp4

Joint_states topics are fine, Plotjuggler displays the right values

Steps to reproduce (important)

Platform: Ubuntu 20.04, ROS1

Step 1:
install ros plugins by following the instructions written on this page ("How to compile PlotJuggler from source")
https://github.com/PlotJuggler/plotjuggler-ros-plugins

Step 2:
launch plotjuggler and subscribe odometry topic

If anyone knows the way to run plotjuggler with ros1 on ubuntu 20.04, please let me know

@lucasw
Copy link
Contributor

lucasw commented Jan 4, 2024

Can you zip up a short rosbag of your odom topic and attach it here?

@peci1
Copy link
Contributor

peci1 commented Jan 4, 2024

I get the same bug with apt-installed plotjuggler on Ubuntu 20.04/Noetic.

Sample odom topic values that get displayed as the nonsense:

x: 82.09575053694694
y: -8.41266412125995
z: -0.08068917743157186

@peci1
Copy link
Contributor

peci1 commented Jan 4, 2024

Combination of PJ 3.8.5 from testing and PJ-ROS 1.7.0 from snapshot 2023-11-15 works.

@sunilsulania
Copy link

It started happening recently with me as well on ROS1 on ubuntu 20.04 apt installed version. I may have done an apt upgrade, I dont remember.
Interestingly, Issue is with nav_msgs/Odometry position values. like mentioned in above image.

@NR-Daichi
Copy link
Author

NR-Daichi commented Jan 9, 2024

Can you zip up a short rosbag of your odom topic and attach it here?

ros_bagfiles.zip
Please have a look at the odometry topic (ex. /right_foot_BF_pin/pose/pose/position/x )

Kazam_screenshot_00026

I could plot them with rqt_plot
Kazam_screenshot_00027

@NR-Daichi
Copy link
Author

It started happening recently with me as well on ROS1 on ubuntu 20.04 apt installed version. I may have done an apt upgrade, I dont remember. Interestingly, Issue is with nav_msgs/Odometry position values. like mentioned in above image.

This suddenly happen to me as well. In my case, the Odometry/Twist / Twist / linear is also not correct

@facontidavide
Copy link
Owner

Fixed:
image

@sunilsulania
Copy link

Thank you Davide.

@Veng97
Copy link

Veng97 commented Jan 13, 2024

Can confirm this issue also happens in ROS2.

Screenshot from 2024-01-13 15-32-26
Screenshot from 2024-01-13 15-32-41

The values shown in plotjuggler does not match the topic echo.

@facontidavide
Copy link
Owner

Problem fixed in 3.8.6

Unless you are using that version, don't duplicate this issue

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

6 participants