diff --git a/launch/tibi_dabo_rect.launch b/launch/tibi_dabo_rect.launch new file mode 100644 index 0000000000000000000000000000000000000000..5e32353e6b190f90f5e68b8d992eec7b8f615d07 --- /dev/null +++ b/launch/tibi_dabo_rect.launch @@ -0,0 +1,42 @@ +<launch> + + <!-- load robot defined machines --> + <include file="$(find tibi_dabo_base)/machines/$(env ROBOT).machines" /> + + <group ns="$(env ROBOT)"> + <!-- published topics: /$(env ROBOT)/processed_image --> + <!-- subscribed topics: /$(env ROBOT)/sensors/head_right/image_raw --> + <!-- /$(env ROBOT)/sensors/head_right/camera_info --> + <!-- service clients: --> + <!-- service servers: --> + <!-- action clients: --> + <!-- action servers: --> + <!-- image crop --> + <node pkg ="nodelet" + type="nodelet" + name="image_proc_dec" + machine="visio" + args="standalone image_proc/crop_decimate"> + <param name="decimation_x" value="1" /> + <param name="decimation_y" value="1" /> + <remap from="/$(env ROBOT)/camera/image_raw" + to="/$(env ROBOT)/sensors/head_right/image_raw"/> + <remap from="/$(env ROBOT)/camera/camera_info" + to="/$(env ROBOT)/sensors/head_right/camera_info"/> + </node> + + <!-- image rectification --> + <node pkg ="image_proc" + type="image_proc" + name="image_proc_rect" + machine="visio"> + <remap from="/$(env ROBOT)/image_raw" + to="/$(env ROBOT)/camera_out/image_raw" /> + <remap from="/$(env ROBOT)/camera_info" + to="/$(env ROBOT)/camera_out/camera_info" /> + <remap from="/$(env ROBOT)/image_rect_color" + to="/$(env ROBOT)/processed_image" /> + </node> + </group> +</launch> +