sdformat icon indicating copy to clipboard operation
sdformat copied to clipboard

How to use state to set <joint>'s initial position?

Open cheng-kevin opened this issue 4 years ago • 1 comments

https://osrf-migration.github.io/sdformat-gh-pages/#!/osrf/sdformat/pull-requests/683/page/1

This comment says that initial position is better suited for the state tag. How do we do this?

cheng-kevin avatar Jan 19 '21 19:01 cheng-kevin

This code block for loading the joint positions are commented: https://github.com/osrf/gazebo/blob/gazebo11/gazebo/physics/ModelState.cc#L90 https://github.com/osrf/gazebo/blob/gazebo11/gazebo/physics/Model.cc#L1378

ahtsan avatar Jan 19 '21 21:01 ahtsan