-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prototype system for initializing model state #2359
base: main
Are you sure you want to change the base?
Conversation
This system sets initial joint position and velocity states using an xml syntax that is a prototype for the SDFormat 1.12 state specification. Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
For specifying link velocity, there has been a request to change the link_state specification for velocity to not use the
|
Can this be used to set the model state of a model in which no |
Yes, I would like to push these syntax changes upstream to the the |
One difference between this prototype and what we could achieve by updating the |
Adjust geometry slightly and set density to retain the same mass values and approximately the same inertia matrix. Signed-off-by: Steve Peters <scpeters@openrobotics.org>
I've updated the world file to use SDFormat 1.11 and auto-inertials in 7cab1bb |
Signed-off-by: yaswanth1701 <gonnayaswanth17@gmail.com> Co-authored-by: Steve Peters <scpeters@openrobotics.org>
🎉 New feature
Closes #2318
Summary
This adds a system called
SetModelState
that accepts an xml configuration containing<model_state>
tags intending to serve as a prototype for new syntax for the<state>
tag in SDFormat 1.12. Currently, only<joint_state>
tags are supported; support should also be added for<link_state>
.Example
<model_state>
syntax from examples/worlds/set_model_state.sdfTest it
The rotors should start at a 60 degree angle and rotate clock-wise at 30 degrees / second.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.