-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Isaac IY Saito
committed
May 26, 2015
1 parent
358ac11
commit 7f181c3
Showing
9 changed files
with
499 additions
and
42 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
43 changes: 4 additions & 39 deletions
43
nextage_moveit_config/launch/NextageOpen_moveit_sensor_manager.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 |
---|---|---|
@@ -1,43 +1,8 @@ | ||
<launch> | ||
<arg name="camera_link_pose" default="0.15 0.075 0.5 0.0 0.7854 0.0"/> | ||
<arg name="kinect" default="false"/> | ||
<group if="$(arg kinect)" > | ||
<!-- launch openni to talk to kinect --> | ||
<include file="$(find freenect_launch)/launch/freenect.launch"> | ||
<!-- These args are workarounds for tf_prefix issues in freenect.launch --> | ||
<arg name="rgb_frame_id" value="camera_rgb_optical_frame"/> | ||
<arg name="depth_frame_id" value="camera_depth_optical_frame"/> | ||
</include> | ||
<!-- Users update this to set transform between camera and robot --> | ||
<node pkg="tf" type="static_transform_publisher" name="camera_link_broadcaster" | ||
args="$(arg camera_link_pose) /torso /camera_link 100" /> | ||
|
||
<!-- octomap parameters for moveit --> | ||
<group ns="move_group" > | ||
<rosparam command="load" file="$(find nextage_moveit_config)/config/kinect_sensor.yaml" /> | ||
<param name="octomap_frame" type="string" value="camera_link" /> | ||
<param name="octomap_resolution" type="double" value="0.02" /> | ||
<rosparam command="load" file="$(find nextage_moveit_config)/config/kinect_sensor.yaml" /> | ||
<param name="octomap_frame" type="string" value="WAIST" /> | ||
<param name="octomap_resolution" type="double" value="0.04" /> | ||
<param name="max_range" type="double" value="5.0" /> | ||
|
||
</group> | ||
</group> | ||
<arg name="xtion" default="false"/> | ||
<group if="$(arg xtion)" > | ||
<!-- launch openni to talk to xtion --> | ||
<include file="$(find openni_launch)/launch/openni.launch"> | ||
<!-- These args are workarounds for tf_prefix issues in openni.launch --> | ||
<arg name="rgb_frame_id" value="camera_rgb_optical_frame" /> | ||
<arg name="depth_frame_id" value="camera_depth_optical_frame" /> | ||
</include> | ||
<!-- Users update this to set transform between camera and robot --> | ||
<!-- This example has the Xtion mounted to the chest of the robot --> | ||
<node pkg="tf" type="static_transform_publisher" name="camera_link_broadcaster" | ||
args="$(arg camera_link_pose) /torso /camera_link 100" /> | ||
|
||
<!-- octomap parameters for moveit --> | ||
<group ns="move_group" > | ||
<param name="octomap_frame" type="string" value="camera_link" /> | ||
<param name="octomap_resolution" type="double" value="0.02" /> | ||
<rosparam command="load" file="$(find nextage_moveit_config)/config/xtion_sensor.yaml" /> | ||
</group> | ||
</group> | ||
</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
Oops, something went wrong.