Skip to content
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

Allow to set initial joint pose in SDF #1072

Open
osrf-migration opened this issue Feb 28, 2014 · 7 comments
Open

Allow to set initial joint pose in SDF #1072

osrf-migration opened this issue Feb 28, 2014 · 7 comments

Comments

@osrf-migration
Copy link

Original report (archived issue) by Anonymous.


Refering to http://answers.gazebosim.org/question/5062/robot-initial-configuration/, it is important that one can specify the initial position for each SDF .

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


Is this similar to #207?

@osrf-migration
Copy link
Author

Original comment by Andreas Bihlmaier (Bitbucket: andreasBihlmaier).


I think #207 is about control of joints.

My proposal is to have a "" tag within that allows to spawn the model with this joint setting as initial value. Setting to a value != 0 would already alter the way the model is shown when adding it to a world, i.e. before it is registered to physics and before its plugin code is run. In other words the tag should in this regard behave exactly the same as if the joint's origin where shifted to the initial value.

@osrf-migration
Copy link
Author

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


At the minimum, we need the joint to be spawned within the joint limits so to avoid violent corrections on startup.

A pass through the robot after spawning (in Init) to set joint positions could do it. But we also need to check for invalid configurations in case the robot kinematics is not a tree.

@osrf-migration
Copy link
Author

Original comment by Antonio El Khoury (Bitbucket: aelkhour).


Is there currently any bypass that would allow setting an initial robot pose without modifying gazebo_ros_control::DefaultRobotHWSim or writing a robot-specific plugin?

@osrf-migration
Copy link
Author

Original comment by Andreas Bihlmaier (Bitbucket: andreasBihlmaier).


To my knowledge there still isn't.

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • set version to "any"

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • changed version from "any" to "all"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant