File tree Expand file tree Collapse file tree 6 files changed +15
-5
lines changed
obinata_research/obinata_pr2_73b2_cleanup Expand file tree Collapse file tree 6 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 1111 <!-- <node name="spawn_pr2_leave_from_door" pkg="gazebo_ros" type="spawn_model" args="$(optenv ROBOT_INITIAL_POSE) -unpause -urdf -parm robot_description -x $(arg pr2_init_x -model pr2" respawn="false" output="screen" /> -->
1212
1313 <!-- bringup script -->
14- <include file =" $(find obinata_pr2_73b2_cleanup )/launch/pr2_empty_world.launch" >
14+ <include file =" $(find pr2_gazebo )/launch/pr2_empty_world.launch" >
1515 <arg name =" world_name" value =" $(arg world_name)" />
16+ <arg name =" ROBOT_INITIAL_POSE" value =" -x 0.75 -y 0 -z 0" />
1617 </include >
1718
1819 <!-- put chairs -->
Original file line number Diff line number Diff line change 11<launch >
22 <arg name =" KINECT1" default =" $(optenv KINECT1 false)" />
33 <arg name =" KINECT2" default =" $(optenv KINECT2 false)" />
4+ <arg name =" ROBOT_INITIAL_POSE" default =" $(optenv ROBOT_INITIAL_POSE)" />
45
56 <!-- Startup PR2 without any mechanism controllers -->
67 <include file =" $(find obinata_pr2_73b2_cleanup)/launch/pr2_no_controllers.launch" pass_all_args =" true" />
78
89 <!-- Load and Start Default Controllers -->
910 <include file =" $(find pr2_controller_configuration_gazebo)/launch/pr2_default_controllers.launch" />
1011
11- </launch >
12+ </launch >
Original file line number Diff line number Diff line change 1212
1313 <arg name =" KINECT1" default =" $(optenv KINECT1 false)" />
1414 <arg name =" KINECT2" default =" $(optenv KINECT2 false)" />
15+ <arg name =" ROBOT_INITIAL_POSE" default =" $(optenv ROBOT_INITIAL_POSE)" />
1516
1617 <include file =" $(find gazebo_ros)/launch/empty_world.launch" >
1718 <arg name =" gui" value =" $(arg gui)" />
2930 <include file =" $(find obinata_pr2_73b2_cleanup)/launch/pr2.launch" >
3031 <arg name =" KINECT1" value =" $(arg KINECT1)" />
3132 <arg name =" KINECT2" value =" $(arg KINECT2)" />
33+ <arg name =" ROBOT_INITIAL_POSE" value =" $(arg ROBOT_INITIAL_POSE)" />
3234 </include >
3335
3436</launch >
Original file line number Diff line number Diff line change 11<launch >
22 <arg name =" KINECT1" default =" $(optenv KINECT1 false)" />
33 <arg name =" KINECT2" default =" $(optenv KINECT2 false)" />
4- <arg name =" initial_pose " default =" -x -1.5 -y 0 -z 0 " />
4+ <arg name =" ROBOT_INITIAL_POSE " default =" $(optenv ROBOT_INITIAL_POSE) " />
55
66 <!-- send pr2 urdf to param server -->
77 <include file =" $(find pr2_description)/robots/upload_pr2.launch" pass_all_args =" true" />
88
99 <!-- push robot_description to factory and spawn robot in gazebo -->
10- <node name =" spawn_pr2_model" pkg =" gazebo_ros" type =" spawn_model" args =" $(arg initial_pose ) -unpause -urdf -param robot_description -model pr2" respawn =" false" output =" screen" />
10+ <node name =" spawn_pr2_model" pkg =" gazebo_ros" type =" spawn_model" args =" $(arg ROBOT_INITIAL_POSE ) -unpause -urdf -param robot_description -model pr2" respawn =" false" output =" screen" />
1111
1212 <!-- default bringup script -->
1313 <include file =" $(find pr2_gazebo)/launch/pr2_bringup.launch" />
Original file line number Diff line number Diff line change 1212 <buildtool_depend >catkin</buildtool_depend >
1313
1414 <run_depend >gazebo_ros</run_depend > <!-- for gazebo_ros_pose_publisher https://github.com/ros-simulation/gazebo_ros_pkgs/pull/1098 -->
15+ <run_depend >pr2_gazebo</run_depend > <!-- ROBOT_INITIAL_POSE argument https://github.com/PR2/pr2_simulator/pull/147, you can remove this line once it is released -->
1516 <run_depend >jsk_maps</run_depend >
1617 <run_depend >pr2eus</run_depend >
1718
Original file line number Diff line number Diff line change 22- git:
33 local-name: gazebo_ros_pkgs
44 uri: https://github.com/k-okada/gazebo_ros_pkgs.git
5- version: add_gazebo_pose_publisher
5+ version: add_gazebo_pose_publisher
6+ # ROBOT_INITIAL_POSE argument https://github.com/PR2/pr2_simulator/pull/147
7+ - git:
8+ local-name: pr2_simulator
9+ uri: https://github.com/k-okada/pr2_simulator.git
10+ version: arg_robot_initial_pose
You can’t perform that action at this time.
0 commit comments