Ask Your Question
0

Can I change the initial pose of my p3dx when I launch the .launch file? [closed]

asked 2015-06-08 05:15:50 -0600

Alvaro Salcedo gravatar image

updated 2015-06-09 04:28:33 -0600

hi ros users:

How can i do that my model of p3dx appears where I want when I run gazebo? For example on x=3 y=3. is there anyway to do that? so, change the initial pose of my p3dx. My pkg of the model is this https://github.com/RafBerkvens/ua_ros...

Thanks!!!!!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alvaro Salcedo
close date 2015-06-10 04:27:22.640490

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-06-09 08:20:43 -0600

You can do this by modifying your gazebo.launch file.

<node name="urdf_spawner" pkg="gazebo_ros" type="spawn_model"
        respawn="false" output="screen" args="-urdf -model p3dx -x 3 -y 3 -param robot_description" />
edit flag offensive delete link more

Comments

That is the way! thanks

Alvaro Salcedo gravatar imageAlvaro Salcedo ( 2015-06-10 04:27:09 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-06-08 05:15:50 -0600

Seen: 50 times

Last updated: Jun 09 '15