ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
0

Changing robot initial pose in gazebo

asked 2013-06-05 01:47:35 -0500

ryann2k1 gravatar image

updated 2014-11-22 17:05:19 -0500

ngrennan gravatar image

I'm trying to modify the initial pose by changing pr2.sdrf (pr2_description/robots). after rerun: roslaunch pr2_gazebo pr2_empty_world.launch, the robot pose remains the same as the original one. I have no idea where to look for make the proper changes. Any idea would be appreciated. Running on fuerte 12.04 ubuntu precise. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-06-06 05:57:31 -0500

SL Remy gravatar image

updated 2013-06-06 06:01:03 -0500

In pr2_no_controllers.launch they make use of "optenv ROBOT_INITIAL_POSE". So, setting that env variable should change the location. Or you could modify the pose used with the spawn command in your own launch files.

Looks like a duplicate .. how-do-i-set-the-inital-pose-of-a-robot-in-gazebo

edit flag offensive delete link more

Comments

I have a look to the that post, but when I try to execute move_arm_joint_goal, errors stating that kinematic has experienced conflict with the initial pose. Do you know what packages that I need to modify (to generate) so I can build my own? Thanks

ryann2k1 gravatar imageryann2k1 ( 2013-06-06 15:46:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-06-05 01:47:35 -0500

Seen: 1,594 times

Last updated: Jun 06 '13