question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add .obj mesh support to mesh markers and robot descriptions

See original GitHub issue

Description

Connected to local ROS, the 3D marker topics and the URDF does not load.

  • Version: Foxglove v1.4.0 / v1.5.1 / v1.6.0 and ROS melodic / ROS noetic
  • OS: Ubuntu 18.04 / Ubuntu 20.04

Steps To Reproduce

3d topic:

cd ~/catkin_ws/src
git clone https://github.com/szenergy/rviz_markers
catkin build rviz_markers
source ~/catkin_ws/devel/setup.bash 
roscore
roslaunch rviz_markers demo1.launch

urdf:

cd ~/catkin_ws/src
git clone https://github.com/szenergy/nissan_leaf_ros
catkin build nissan_bringup
source ~/catkin_ws/devel/setup.bash 
roscore
roslaunch nissan_bringup 3d_nissan.launch 
roslaunch nissan_bringup tf_nissanleaf_statictf.launch
roslaunch nissan_bringup rviz00.launch

Expected Behavior

Display 3D data similar to RVIZ.

Actual Behavior

foxglove_01_a

foxglove_02

i also tried to /robot_description to package://nissan_bringup/param/nissan_leaf_robotdescription.ref.xml, it did not solve the issue.

foxglove_try_02_bb

Thank you!

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jhurlimancommented, Jul 14, 2022

The title of this ticket, “.obj mesh support”, is completed in the new 3D (Beta) panel. If there are additional rendering issues with the URDF support in the new 3d panel in 1.18 (due to release early next week) let’s open a new ticket to scope down the work and classify it as a bug report or feature request.

1reaction
defunctzombiecommented, Apr 16, 2022

@horverno Thanks for following up. I’ve looked into this and determined that the root cause is that we don’t yet support loading .obj meshes. We are actively working on many 3d panel enhancements that will allow us to better support meshes like .obj files.

I’m going to change this ticket from a bug to a feature and update the title to indicate that the 3d panel should support .obj meshes for URDF (robot descriptions) and mesh markers.

In the meantime, I’ve also made a ticket to improve the error feedback when we do encounter a mesh we don’t yet support. This should not fail silently but should let you know what happened.

https://github.com/foxglove/studio/issues/3198

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Visualize ROS Mesh Markers - Foxglove
Use mesh markers to visualize custom models in the context of a 3D scene.
Read more >
how to display a mesh with texture in RViz? - ROS Answers
Currently you can display a collada, stl, and Ogre mesh file. You display them using a marker message.
Read more >
Visualize MESH_RESOURCE markers in the 3D panel #782
In #1983 we are adding support for MESH_RESOURCE markers, but currently only supporting HTTP(S) URLs pointing at glTF (.glb) 3D models.
Read more >
The Mesh Tools Package Introducing Annotated 3D Triangle ...
Triangle mesh maps for robotic applications are becoming increasingly popular, but were not yet effectively supported in the Robot Operating ...
Read more >
Mesh Import from OBJ files | Revit - Autodesk App Store
Run the Mesh Import add-in in Revit. Select an OBJ file. Set options -- scale, Category, Material, and orientation. Categories available are Casework, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found