ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Changing robot initial pose in gazebo

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

ryann2k1 gravatar image

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

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 -0600

SL Remy gravatar image

updated 2013-06-06 06:01:03 -0600

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 image ryann2k1  ( 2013-06-06 15:46:37 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 3,803 times

Last updated: Jun 06 '13