MuJoCo ROS Integration - segmentation faults in model instance (from version 3.1.1 -> ^3.1.2) #1981
Unanswered
peterdavidfagan
asked this question in
Asking for Help
Replies: 1 comment 1 reply
-
For now I am going to pin my version to 3.1.1 as this seems like it will take me some time to read the diff and understand exactly what change caused the segfault (presumably changes to passive viewer). In general, I am motivated to keep my package up to date with the latest releases as I intend to leverage this workflow throughout the remainder of my research studies. I'll update this issue when I get back to it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm a PhD student and I'm trying to use MuJoCo with ROS 2 to prototype robot workspaces and ROS 2 application software. I have created the following ROS package to accomplish this and it seems to work for MuJoCo version 3.1.1 and earlier. I recently have been looking to include meshes in my scenes which resulted in errors in 3.1.1 relating to inconsistent normals as seen here. As part of resolving this issue I looked to upgrade my MuJoCo version while in the process of doing so I have encountered segmentation faults when when interfacing with the model instance for all versions greater than or equal to 3.1.2.
I'm looking for some help with understanding changes between 3.1.1 -> 3.1.2 that may be causing my issue. I have started looking at the changelog and performing a diff to understand better what is causing my integration package to always produce a segfault on more recent versions of MuJoCo "^3.1.2". I am posting this issue in case anyone has a quick answer to what might be causing this issue in latest MuJoCo versions. I also believe this is relevant for anyone looking to cast model/data instances from python to C++ in a manner similar to the below:
I instantiate my python binding from the referenced package in a Python script as below, where I read in the latest scene.xml from mujoco_menagerie for the Franka Emika Panda model:
This results in the following backtrace for the segfault:
Beta Was this translation helpful? Give feedback.
All reactions