-
Notifications
You must be signed in to change notification settings - Fork 88
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 #111 from hello-robot/feature/separated_launch_files2
Separate drivers into stretch.launch
- Loading branch information
Showing
14 changed files
with
715 additions
and
110 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
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
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,16 +1,14 @@ | ||
<launch> | ||
<!-- REALSENSE D435i --> | ||
|
||
<!-- D435i Base --> | ||
<include file="$(find stretch_core)/launch/d435i_basic.launch" pass_all_args="true"> | ||
<!-- | ||
HIGHEST RESOLUTION, but also has the highest minimum depth | ||
(280mm Min-Z) below which objects generate bad noise, such as | ||
when the arm and gripper are raised close to the camera. | ||
--> | ||
<arg name="depth_width" value="1280"/> | ||
<!-- HIGHEST RESOLUTION, but also has the highest minimum depth | ||
(280mm Min-Z) below which objects generate bad noise, such as | ||
when the arm and gripper are raised close to the camera. --> | ||
<arg name="depth_width" value="1280"/> | ||
<arg name="depth_height" value="720"/> | ||
<arg name="color_width" value="1280"/> | ||
<arg name="color_width" value="1280"/> | ||
<arg name="color_height" value="720"/> | ||
</include> | ||
|
||
</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,17 +1,14 @@ | ||
<launch> | ||
|
||
<!-- REALSENSE D435i --> | ||
<!-- D435i Base --> | ||
<include file="$(find stretch_core)/launch/d435i_basic.launch" pass_all_args="true"> | ||
<!-- | ||
LOWEST RESOLUTION, but also has the lowest minimum depth | ||
(105mm Min-Z) below which objects generate bad noise, such as | ||
when the arm and gripper are raised close to the camera. | ||
--> | ||
<arg name="depth_width" value="424"/> | ||
<!-- LOWEST RESOLUTION, but also has the lowest minimum depth | ||
(105mm Min-Z) below which objects generate bad noise, such as | ||
when the arm and gripper are raised close to the camera. --> | ||
<arg name="depth_width" value="424"/> | ||
<arg name="depth_height" value="240"/> | ||
<arg name="color_width" value="424"/> | ||
<arg name="color_width" value="424"/> | ||
<arg name="color_height" value="240"/> | ||
|
||
</include> | ||
|
||
</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,26 @@ | ||
<launch> | ||
|
||
<arg name="lidar_odom" default="true" doc="whether the odom TF is estimated with lidar odometry fused, or just wheel odometry" /> | ||
<arg name="respeaker" default="true" doc="whether to launch the respeaker microphone array/speaker drivers" /> | ||
<arg name="rviz" default="false" doc="whether to show Rviz" /> | ||
|
||
<!-- STRETCH DRIVER --> | ||
<param name="/stretch_driver/broadcast_odom_tf" type="bool" value="true" unless="$(arg lidar_odom)" /> | ||
<include file="$(find stretch_core)/launch/stretch_driver.launch" pass_all_args="true" /> | ||
|
||
<!-- D435i CAMERA --> | ||
<include file="$(find stretch_core)/launch/stretch_realsense.launch" pass_all_args="true" /> | ||
|
||
<!-- LASER RANGE FINDER + SCAN MATCHER ODOMETRY --> | ||
<include file="$(find stretch_core)/launch/rplidar.launch" if="$(arg lidar_odom)" /> | ||
<include file="$(find stretch_core)/launch/stretch_scan_matcher.launch" if="$(arg lidar_odom)" /> | ||
|
||
<!-- RESPEAKER MICROPHONE ARRAY --> | ||
<group ns="stretch"> | ||
<include file="$(find respeaker_ros)/launch/respeaker.launch" if="$(arg respeaker)" /> | ||
</group> | ||
|
||
<!-- VISUALIZE --> | ||
<node name="rviz" pkg="rviz" type="rviz" output="screen" args="-d $(find stretch_core)/rviz/stretch.rviz" if="$(arg rviz)" /> | ||
|
||
</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
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,24 @@ | ||
<launch> | ||
|
||
<arg name="resolution" default="high" doc="resolution of the color/depth images ('low' or 'high')" /> | ||
<arg name="publish_upright_img" default="false" doc="whether to publish a rotated upright color image" /> | ||
<arg name="publish_frustum_viz" default="false" doc="whether to publish frustum field of view visualizers" /> | ||
|
||
<!-- D435i DRIVER --> | ||
<include file="$(find stretch_core)/launch/d435i_$(arg resolution)_resolution.launch" /> | ||
|
||
<!-- VISUAL PRESET CONFIGURATION --> | ||
<node name="d435i_configure" pkg="stretch_core" type="d435i_configure" output="screen" /> | ||
|
||
<!-- UPRIGHT ROTATED CAMERA VIEW --> | ||
<node name="upright_rotater" pkg="image_rotate" type="image_rotate" if="$(arg publish_upright_img)"> | ||
<remap from="image" to="/camera/color/image_raw" /> | ||
<remap from="rotated/image" to="/camera/color/upright_image_raw" /> | ||
<param name="target_frame_id" type="str" value="" /> | ||
<param name="target_x" type="double" value="-1.5708" /> | ||
</node> | ||
|
||
<!-- FRUSTUM FIELD OF VIEW VISUALIZATION --> | ||
<node name="d435i_frustum_visualizer" pkg="stretch_core" type="d435i_frustum_visualizer" output="screen" if="$(arg publish_frustum_viz)" /> | ||
|
||
</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
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
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
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.