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

plots seem a bit glitchy with repeated lines using ros noetic #435

Closed
qiuyuchen14 opened this issue May 11, 2021 · 8 comments
Closed

plots seem a bit glitchy with repeated lines using ros noetic #435

qiuyuchen14 opened this issue May 11, 2021 · 8 comments
Assignees
Labels

Comments

@qiuyuchen14
Copy link

Hi,

Thanks for this awesome plotting tool! I'm trying to use plotjuggler with ROS noetic (in VM), and saw something pretty weird: I could see repeated lines, and it seems that the old curves are not removed. The background color in each plot is also dark for some reason. I tried changing the buffer size but it didn't help. It would be great if you can point us where it might be the issue! Thanks!

plot_debug1

@facontidavide
Copy link
Owner

I have never seen anything like this.

Can you provide a way toi reproduce this?

Further question... do you have OpenGL enabled? try running the command glxgears in your console

@facontidavide facontidavide self-assigned this May 11, 2021
@qiuyuchen14
Copy link
Author

Thanks for the quick response! Yeah, I have openGL enabled and glxgears shows messages like: 5305 frames in 5.0 seconds = 1060.962 FPS. . hmm, I'm not sure what would be a good way to reproduce this, we found some people can run the same code and the same command without any troubles, but some are having issues like this. We all use VMs ,and we compared our VM settings and couldn't find any difference there. We also suspect that this might be some render issues, but so far haven't got any clue yet.

@facontidavide
Copy link
Owner

I have just pushed a change in the main branch to disable opengl in app->preferences.

Can you try that?

@qiuyuchen14
Copy link
Author

Thanks! Just built the latest, but I found If I disable openGL in app->preference, the next time I open app->preference, it would be reset to "enable". The background in the plot is still grey and I cannot find rostopic subscriber. My previous plot was using sudo apt install ros-noetic-plotjuggler-ros.

@facontidavide
Copy link
Owner

I REALLY want to help you, but unless I find a way to reproduce this, I can not.

Which VM are you using? Is the host Windows or Linux?

@qiuyuchen14
Copy link
Author

Thanks so much for investigating this! I emailed you the VM I'm using with details. My host machine is Ubuntu18 with Intel® UHD Graphics 620 (Kabylake GT2).

@facontidavide
Copy link
Owner

FIXED. It was indeed the OpenGL issue! Now the change in preferences should persist.

I will try to release a new version soon-ish, but for the time being, you need to compile both plotjuggler and plotjuggler-ros from source, as explained here https://github.com/PlotJuggler/plotjuggler-ros-plugins

@qiuyuchen14
Copy link
Author

Thank you so much!!! Yes, it's working now!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants