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 unable to get the pose of an <inertial> relative to a frame using sdformat9. It looks like the relative_to attribute has no effect if used in the <pose> of an <inertial>. The pose is always treated as if it were in link frame.
It looks like the inertial is in the wrong pose using gazebo 11.1.0. It should be at the same location as the visual and collision, but it's in the ground.
The SDFormat API doesn't have a SemanticPose() API for inertials. I was expecting the Inertial() API to return a pose in link frame, but with the relative_to frame resolved. It looks like the issue is a variable inertialFrame is initialized, but never set with the true value:Edit: loadPose sets the variable inertiaFrame, but then it's not used anywhere after that.
I'm unable to get the pose of an
<inertial>
relative to a frame usingsdformat9
. It looks like therelative_to
attribute has no effect if used in the<pose>
of an<inertial>
. The pose is always treated as if it were in link frame.It looks like the inertial is in the wrong pose using gazebo 11.1.0. It should be at the same location as the visual and collision, but it's in the ground.
The SDFormat API doesn't have a
SemanticPose()
API for inertials. I was expecting theInertial()
API to return a pose in link frame, but with therelative_to
frame resolved.It looks like the issue is a variableEdit: loadPose sets the variableinertialFrame
is initialized, but never set with the true value:inertiaFrame
, but then it's not used anywhere after that.https://github.com/osrf/sdformat/blob/b6c761ba38652ea440c4f728d60ef4b85cebf511/src/Link.cc#L169-L177
https://github.com/osrf/sdformat/blob/b6c761ba38652ea440c4f728d60ef4b85cebf511/src/Link.cc#L204-L205
The text was updated successfully, but these errors were encountered: