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
I'm trying to load a simple box model through an SDF and visualize it. This simulation has zero degrees of freedom because I just want to load the model with a visualization purpose.
In case I load the SDF file with multibody::joints::kFixed the program ends up with a segmentation fault. This problem is solved by calling drake::parsers::sdf::AddModelInstancesFromSdfFile with multibody::joints::kQuaternion.
Here you can see the gdb backtrace when using multibody::joints::kFixed. And in this link you can see a sample project that reproduces the situation.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this, @agalbachicar and providing such good information. It looks like a problem dealing with the resulting 0-length state vector. We are reworking our multibody code at the moment so probably won't fix this in the old code but will make sure it works in the new code. We would also be very glad to accept a pull request that fixes the current code!
@amcastro-tri, assigning to you for tracking in MultibodyTree.
It will be some common, when using PoseAggregator in automotive, for the fixed scene (world geometry) to come in via SDF (RBT) and all of the moving joints to come in as Systems that don't use RigidBodyPlant. If and when that happens, I will bump the priority of this accordingly.
I'm trying to load a simple box model through an SDF and visualize it. This simulation has zero degrees of freedom because I just want to load the model with a visualization purpose.
In case I load the SDF file with
multibody::joints::kFixed
the program ends up with a segmentation fault. This problem is solved by callingdrake::parsers::sdf::AddModelInstancesFromSdfFile
withmultibody::joints::kQuaternion
.Here you can see the gdb backtrace when using
multibody::joints::kFixed
. And in this link you can see a sample project that reproduces the situation.The text was updated successfully, but these errors were encountered: