Skip to content

Instantly share code, notes, and snippets.

@RDaneelOlivav
Created April 6, 2020 08:56
Show Gist options
  • Save RDaneelOlivav/7b8f7c1e1284302418ad1ba8040aee14 to your computer and use it in GitHub Desktop.
Save RDaneelOlivav/7b8f7c1e1284302418ad1ba8040aee14 to your computer and use it in GitHub Desktop.
<launch>
<arg name="rgb_raw_image_topic" default="/mira/mira/camera1/image_raw"/>
<arg name="color_file_path" default="$(find my_blob_tracking_pkg)/color_files/colors.txt"/>
<!-- Location of the cmvision color file -->
<param name="cmvision/color_file" type="string"
value="$(arg color_file_path)" />
<!-- Turn debug output on or off -->
<param name="cmvision/debug_on" type="bool" value="true"/>
<!-- Turn color calibration on or off -->
<param name="cmvision/color_cal_on" type="bool" value="false"/>
<!-- Enable Mean shift filtering -->
<param name="cmvision/mean_shift_on" type="bool" value="false"/>
<!-- Spatial bandwidth: Bigger = smoother image -->
<param name="cmvision/spatial_radius_pix" type="double" value="2.0"/>
<!-- Color bandwidth: Bigger = smoother image-->
<param name="cmvision/color_radius_pix" type="double" value="40.0"/>
<node name="cmvision" pkg="cmvision" type="cmvision" args="image:=$(arg rgb_raw_image_topic)"
output="screen" />
</launch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment