Skip to content

Commit

Permalink
add flip argument
Browse files Browse the repository at this point in the history
  • Loading branch information
fmessmer committed Jan 17, 2017
1 parent 0a5f1d0 commit 4bcb15d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cob_bringup/components/cam3d_r200_rgbd.launch
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<arg name="name"/>
<arg name="num_worker_threads" default="4"/>
<arg name="start_manager" default="true"/>
<arg name="flip" default="true"/>
<arg name="sim" default="false"/>

<include unless="$(arg sim)" file="$(find realsense_camera)/launch/r200_nodelet_rgbd.launch">
Expand All @@ -14,7 +15,7 @@
<arg name="robot" value="$(arg robot)"/>
<arg name="yaml_name" value="$(arg name)"/>
</include>
<include file="$(find cob_bringup)/drivers/image_flip_nodelet.launch">
<include if="$(arg flip)" file="$(find cob_bringup)/drivers/image_flip_nodelet.launch">
<arg name="robot" value="$(arg robot)"/>
<arg name="camera_name" value="$(arg name)"/>
<arg name="nodelet_manager" value="$(arg name)_nodelet_manager"/>
Expand Down
3 changes: 2 additions & 1 deletion cob_bringup/components/cob4_head_camera.launch
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<launch>
<arg name="robot"/>
<arg name="name" default="head_cam"/>
<arg name="flip" default="true"/>
<arg name="sim" default="false"/>

<include unless="$(arg sim)" file="$(find cob_bringup)/drivers/usb_camera_node.launch">
Expand All @@ -12,7 +13,7 @@
<arg name="robot" value="$(arg robot)"/>
<arg name="yaml_name" value="$(arg name)"/>
</include>
<include file="$(find cob_bringup)/drivers/image_flip.launch">
<include if="$(arg flip)" file="$(find cob_bringup)/drivers/image_flip.launch">
<arg name="robot" value="$(arg robot)"/>
<arg name="camera_name" value="$(arg name)"/>
<arg name="colorimage_in" value="/$(arg name)/image_rect_color"/>
Expand Down

0 comments on commit 4bcb15d

Please sign in to comment.