Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you're simulating with gazebo, you can set the start pose when spawning the robot in the launch file like so:

<include file="$(find gazebo_ros)/launch/empty_world.launch">
    <arg name="world_name" default="worlds/"/>
    <arg name="paused" value="true"/>
    <arg name="gui" value="$(arg gui)"/>

<node name="spawn_gazebo_model" pkg="gazebo_ros" type="spawn_model" args="-urdf -unpause -param robot_description -model robot -z 0.0 -J elbow_joint -1.57" respawn="false" output="screen" />