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

Visualization of meshes for marker messages #19

Open
sasjonge opened this issue Aug 15, 2022 · 3 comments
Open

Visualization of meshes for marker messages #19

sasjonge opened this issue Aug 15, 2022 · 3 comments

Comments

@sasjonge
Copy link

sasjonge commented Aug 15, 2022

Hello,

in our organization, we would like to use jupyterlab-zethus, but we have a problem with the visualization of markers. If I run jupyterlab with jupyterlab-zethus I can connect to my roscore and jupyterlab receives the TF and visualization_marker_array messages, but the meshes of the robot are not visualized in Zethus. In RVIZ I can visualize it and see the robot with the meshes.

Is it in general possible to visualize Markers with meshes in jupyterlab-zethus (or also in Zethus in general)?

@seadeep42
Copy link
Member

Hi,

No. Zethus currently doesn't support markers of type mesh. If you have a sample rosbag, I can try adding it but that might take some time.

@sasjonge
Copy link
Author

Thanks for the fast answer! I could provide a rosbag, but if you give me a hint where to implement it, I could also try to add this type of markers myself and create a PR.

@seadeep42
Copy link
Member

seadeep42 commented Aug 15, 2022

That'll be great :)
The marker code for each type is available here. Need to add a primitive for the marker mesh in this folder.

There's code in the example folder to visualize a marker. You'll need to run the examples locally and update the topic name in the above file.

There's an incomplete branch with updated code I tried a few months ago but couldn't find the time to complete. It is a more recent version but some of the visualizations have issues since threejs moved from Geometry to BufferGeometry.

If any of it is not clear, please let me know. I will try to clarify and provide more details.

Thank you

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

2 participants