Skip to content

Commit

Permalink
add updated roi detection objects fusion params
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilby59 committed Nov 21, 2023
1 parent e289f87 commit 502c4a5
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 1 deletion.
70 changes: 70 additions & 0 deletions edge_auto_jetson_launch/config/can_assign_matrix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/**:
ros__parameters:
can_assign_matrix:
#UNKNOWN, CAR, TRUCK, BUS, TRAILER, MOTORBIKE, BICYCLE, PEDESTRIAN <-roi_msg
[
1,
0,
0,
0,
0,
0,
0,
0, # UNKNOWN <-detected_objects
0,
1,
0,
0,
0,
0,
0,
0, # CAR
0,
0,
1,
0,
0,
0,
0,
0, # TRUCK
0,
0,
0,
1,
0,
0,
0,
0, # BUS
0,
0,
0,
0,
1,
0,
0,
0, # TRAILER
0,
0,
0,
0,
0,
1,
0,
0, # MOTORBIKE
0,
0,
0,
0,
0,
0,
1,
0, # BICYCLE
0,
0,
0,
0,
0,
0,
0,
1,
] # PEDESTRIAN
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<arg name="input/objects" default="input/objects"/>
<arg name="output/objects" default="output/objects"/>
<arg name="sync_param_path" default="$(find-pkg-share edge_auto_jetson_launch)/config/roi_sync.param.yaml"/>
<arg name="can_assign_matrix_param_path" default="$(find-pkg-share edge_auto_launch)/config/can_assign_matrix.yaml"/>

<!-- for eval variable-->
<arg name="input_rois_number" default="$(var input/rois_number)"/>
Expand All @@ -23,11 +24,13 @@
<param from="$(var sync_param_path)"/>
<remap from="input" to="$(var input/objects)"/>
<remap from="output" to="$(var output/objects)"/>
<param name="passthrough_lower_bound_probability_threshold" value="0.35"/>
<param name="passthrough_lower_bound_probability_thresholds" value="[0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.35]"/>
<param name="use_roi_probability" value="false"/>
<param name="roi_probability_threshold" value="0.5"/>
<param name="min_iou_threshold" value="0.3"/>
<param name="debug_mode" value="false"/>
<param name="trust_distances" value="[100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]"/>
<param from="$(var can_assign_matrix_param_path)"/>
</node>
</group>
</launch>

0 comments on commit 502c4a5

Please sign in to comment.