Set initial robot joint values #3794
karl-exwzd
announced in
Q&A
Replies: 2 comments 3 replies
-
Yes, you will have to change the PROTO file for that. You should rotate each joint so that it is in the initial position you wish. |
Beta Was this translation helpful? Give feedback.
1 reply
-
It can be done programmatically as well in theory by using wb_supervisor_node_set_joint_position. You still need to set the position of each joint, but at least you can do it from the controller (supervisor) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm setting up an environment with a UR robot and its default zero-joint position is to be completely flat, as in the example.
I searched and looked through all the samples, but I could not figure out how to modify the initial joint values of the robot. It will always start straight, which is an issue with what I would like to do.
It is possible to set the joint values after the simulation starts, then the robot will move there, but I would like to have the configuration set prior to starting the simulation.
Is this possible through some parameter setting? Do I have to change the PROTO file for that?
Beta Was this translation helpful? Give feedback.
All reactions