Skip to content

Commit

Permalink
Merge pull request jsk-ros-pkg#1200 from orikuma/modify-args-for-sequ…
Browse files Browse the repository at this point in the history
…ential-task

Add some arguments  to modify some parameters from other launch
  • Loading branch information
k-okada authored Sep 2, 2016
2 parents 4cda777 + 18187a2 commit 7ef5b02
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<arg name="RESOLUTION" default="0.01" />
<arg name="SIMULATION" default="false" />
<arg name="GLC_RECORD" default="false" />
<arg name="PROCESSING_FRAME" default="odom" />
<arg name="VALVE_CORRESPONDENCE_DISTANCE" default="0.1" />
<arg name="TORUS_FINDER_OUTLIER_THRESHOLD" default="0.05" />
<arg name="INPUT_CLOUD" default="/full_cloud2" />
<include file="$(find drc_task_common)/launch/conservative_valve_viewer.launch" >
<arg name="GLC_RECORD" value="$(arg GLC_RECORD)" />
</include>
Expand Down Expand Up @@ -30,7 +34,7 @@
<!-- Prepare pointcloud -->
<group ns="valve_detection">
<node pkg="jsk_pcl_ros" type="octree_voxel_grid" name="octree_voxel_grid">
<remap from="~input" to="/full_cloud2" />
<remap from="~input" to="$(arg INPUT_CLOUD)" />
<rosparam subst_value="true">
resolution: $(arg RESOLUTION)
use_multithread_callback: $(arg USE_MULTITHREAD_CALLBACK)
Expand Down Expand Up @@ -94,8 +98,8 @@
<remap from="~input_polygons" to="region_growing_multiple_plane_segmentation/output/polygons" />
<remap from="~input_coefficients" to="region_growing_multiple_plane_segmentation/output/coefficients" />
<remap from="~input_inliers" to="region_growing_multiple_plane_segmentation/output/inliers" />
<rosparam>
processing_frame_id: odom
<rosparam subst_value="true">
processing_frame_id: $(arg PROCESSING_FRAME)
reference_axis: [0, 0, 1]
angle: 1.57
use_inliers: true
Expand Down Expand Up @@ -202,7 +206,7 @@
min_size: $(arg MIN_CLOUD_SIZE_TORUS)
max_radius: $(arg MAX_RADIUS_TORUS)
min_radius: $(arg MIN_RADIUS_TORUS)
outlier_threshold: 0.05
outlier_threshold: $(arg TORUS_FINDER_OUTLIER_THRESHOLD)
</rosparam>
</node>
<node pkg="drc_task_common" type="valve_rejector.py" name="valve_rejector" output="screen"
Expand Down Expand Up @@ -270,11 +274,11 @@
<remap from="~input" to="downsample_target_cloud/output" />
<remap from="~input_reference" to="downsample_reference_cloud/output" />
<remap from="~input_offset" to="valve_rejector/output/pose" />
<rosparam>
<rosparam subst_value="true">
use_offset_pose: true
use_flipped_initial_pose: false
max_iteration: 10000
correspondence_distance: 0.1
correspondence_distance: $(arg VALVE_CORRESPONDENCE_DISTANCE)
transform_epsilon: 0.0000001
euclidean_fittness_epsilon: 0.0001
rotation_epsilon: 0.0002
Expand Down

0 comments on commit 7ef5b02

Please sign in to comment.