forked from jsk-ros-pkg/jsk_model_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jsk-ros-pkg#6 from YoheiKakiuchi/add_jsk_moveit_pr2
Add jsk moveit pr2
- Loading branch information
Showing
5 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<launch> | ||
<include file="$(find pr2_moveit_config)/launch/planning_context.launch"> | ||
<arg name="load_robot_description" value="true"/> | ||
</include> | ||
|
||
<node pkg="tf" type="static_transform_publisher" name="virtual_joint_broadcaster_0" | ||
args="0 0 0 0 0 0 odom_combined base_footprint 100" /> | ||
|
||
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher"> | ||
<param name="/use_gui" value="true"/> | ||
<rosparam> | ||
source_list: [joints_set] | ||
</rosparam> | ||
</node> | ||
|
||
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" respawn="true" output="screen" /> | ||
|
||
<include file="$(find pr2_moveit_config)/launch/move_group.launch"> | ||
<arg name="allow_trajectory_execution" value="true"/> | ||
<arg name="moveit_octomap_sensor_params_file" | ||
value="$(find jsk_pr2_startup)/jsk_pr2_moveit/sensors_kinect.yaml" /> | ||
</include> | ||
|
||
<include file="$(find pr2_moveit_config)/launch/moveit_rviz.launch"> | ||
<arg name="config" value="true"/> | ||
</include> | ||
|
||
<!--include file="$(find pr2_moveit_config)/launch/default_warehouse_db.launch" /--> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
sensors: | ||
- sensor_plugin: occupancy_map_monitor/PointCloudOctomapUpdater | ||
point_cloud_topic: /openni/depth_registered/points_throttle | ||
max_range: 5.0 | ||
point_subsample: 2 | ||
shape_padding: 0.08 | ||
shape_scale: 1.0 | ||
filtered_cloud_topic: filtered_cloud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
sensors: | ||
- sensor_plugin: occupancy_map_monitor/PointCloudOctomapUpdater | ||
point_cloud_topic: /tilt_laser_cloud2 | ||
max_range: 5.0 | ||
# point_subsample: 1 | ||
shape_padding: 0.06 | ||
shape_scale: 1.0 | ||
filtered_cloud_topic: filtered_cloud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<launch> | ||
<arg name="USE_KINECT" default="true" /> | ||
|
||
<arg if="$(arg USE_KINECT)" | ||
name="sensor_params_file" | ||
value="$(find jsk_pr2_startup)/jsk_pr2_moveit/sensors_kinect.yaml" /> | ||
<arg unless="$(arg USE_KINECT)" | ||
name="sensor_params_file" | ||
value="$(find jsk_pr2_startup)/jsk_pr2_moveit/sensors_laser.yaml" /> | ||
|
||
<include file="$(find pr2_moveit_config)/launch/planning_context.launch"> | ||
<arg name="load_robot_description" value="false"/> | ||
</include> | ||
|
||
<!--node pkg="tf" type="static_transform_publisher" name="virtual_joint_broadcaster_0" args="0 0 0 0 0 0 odom_combined base_footprint 100" /--> | ||
<!--node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher"> | ||
<param name="/use_gui" value="true"/> | ||
</node--> | ||
<!--node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" respawn="true" output="screen" /--> | ||
|
||
<include file="$(find pr2_moveit_config)/launch/move_group.launch"> | ||
<arg name="allow_trajectory_execution" value="true"/> | ||
<arg name="moveit_octomap_sensor_params_file" | ||
value="$(arg sensor_params_file)" /> | ||
</include> | ||
|
||
<include file="$(find pr2_moveit_config)/launch/moveit_rviz.launch"> | ||
<arg name="config" value="true"/> | ||
</include> | ||
|
||
<!--include file="$(find pr2_moveit_config)/launch/default_warehouse_db.launch" /--> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters