You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ROS team and sorry if this problem has already been raised (did not find any thread about that) !
Problem: I cannot visualize mesh from visuals used in robot_description when I run rviz from another PC that the one "hosting the URDF".
Context: I currently use the robot_descriptiontopic (not the parameter) to provide system description to rviz. This is mandatory in my context since URDF is dynamically generated. The URDF description contains path to mesh files used for visuals and collisions. Everything work well as long as I run RVIZ on the machine hosting the node that generates the URDF. But when I run it in another machine mesh files are not installed in this machine's filesystem so they cannot be shown by RVIZ.
Invalid Solution: I know that if I "clone" the ROS workspace on the remote machine to get meshes installed, then of course everything will work (if I used package relative path), but this is not a valid situation in my context. First, IMO generally speaking the remote machine is not supposed to have everything installed, Second, and more problematic, URDFs are dynamically generated and contain reference to mesh files unknown on remote machine when rviz is launched.
Need: The simplest solution would be to have a way to transfer data files to RVIZ any time the robot description topic is updated.
Question: Is there any way to automatically make rviz load data files referenced in the robot_description topic ? Or another way to provide/update a complete robot description to rviz at runtime ?
Thanks for reading !
The text was updated successfully, but these errors were encountered:
Question: Is there any way to automatically make rviz load data files referenced in the robot_description topic ? Or another way to provide/update a complete robot description to rviz at runtime ?
Unfortunately, not that I know of. I guess this would be an interesting feature to have, so if you are interested in trying to make it work, that would be great. If you do decide to do this, I'll suggest doing a quick design and posting it here so we can iterate over it before you start implementing anything.
keep the robot description unchanged, only the value of the mesh tag's filename argument is modified to target a non local mesh. The idea is to add a new type of path, that reference a topic, something like:
<mesh filename="topic:/the/mesh/message">
IMO the advantage of this solution is that the XML parsing is left unchanged. Only the parsing of the filename argument must be customized.
When RVIZ reads the robot_description, it parses the filename argument of mesh and then if the path given starts with a topic keyword it loads the mesh by reading the topic instead of reading a file.
Question:
is there any ROS2 library providing functionalities for loading a mesh in memory (from a file) and for serializing/deserializing meshes into/from Mesh data type ?
Hi ROS team and sorry if this problem has already been raised (did not find any thread about that) !
Problem: I cannot visualize mesh from visuals used in robot_description when I run rviz from another PC that the one "hosting the URDF".
Context: I currently use the
robot_description
topic (not the parameter) to provide system description to rviz. This is mandatory in my context since URDF is dynamically generated. The URDF description contains path to mesh files used for visuals and collisions. Everything work well as long as I run RVIZ on the machine hosting the node that generates the URDF. But when I run it in another machine mesh files are not installed in this machine's filesystem so they cannot be shown by RVIZ.Invalid Solution: I know that if I "clone" the ROS workspace on the remote machine to get meshes installed, then of course everything will work (if I used package relative path), but this is not a valid situation in my context. First, IMO generally speaking the remote machine is not supposed to have everything installed, Second, and more problematic, URDFs are dynamically generated and contain reference to mesh files unknown on remote machine when rviz is launched.
Need: The simplest solution would be to have a way to transfer data files to RVIZ any time the robot description topic is updated.
Question: Is there any way to automatically make rviz load data files referenced in the
robot_description
topic ? Or another way to provide/update a complete robot description to rviz at runtime ?Thanks for reading !
The text was updated successfully, but these errors were encountered: