Skip to content

Commit

Permalink
set param for dual_return_filter and blockage_diag
Browse files Browse the repository at this point in the history
  • Loading branch information
kotaro-hihara committed Jul 17, 2024
1 parent 02202d2 commit 9429507
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 88 deletions.
148 changes: 74 additions & 74 deletions aip_x2_launch/launch/lidar.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<arg name="use_pointcloud_container" default="false" description="launch pointcloud container"/>
<arg name="pointcloud_container_name" default="pointcloud_container"/>
<arg name="dual_return_filter_param_file" default="$(find-pkg-share aip_x2_launch)/config/dual_return_filter.param.yaml"/>
<!--arg name="enable_blockage_diag" default="true"/-->
<arg name="enable_blockage_diag" default="true"/>

<group>
<push-ros-namespace namespace="lidar" />
Expand All @@ -24,22 +24,22 @@
<arg name="cloud_max_angle" value="270"/>
<arg name="min_range" value="0.5"/>
<arg name="max_range" value="200.0"/>
<!--arg name="blockage_range" value="[90.0, 270.0]"/-->
<!--arg name="vertical_bins" value ="40" /-->
<!--arg name="horizontal_ring_id" value="12" /-->
<arg name="angle_range" value="[90.0, 270.0]"/>
<arg name="vertical_bins" value ="40" />
<arg name="horizontal_ring_id" value="12" />
<arg name="return_mode" value="Dual" />
<arg name="ptp_profile" value="1588v2"/>
<arg name="ptp_transport_type" value="UDP"/>
<arg name="ptp_switch_type" value="NON_TSN"/>
<arg name="ptp_domain" value="0"/>
<!--arg name="min_azimuth_deg" value="135.0"/-->
<!--arg name="max_azimuth_deg" value="225.0"/-->
<!--arg name="is_channel_order_top2down" value="true"/-->
<!--arg name="horizontal_resolution" value="0.4"/-->
<!--arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/-->
<arg name="min_azimuth_deg" value="135.0"/>
<arg name="max_azimuth_deg" value="225.0"/>
<arg name="is_channel_order_top2down" value="true"/>
<arg name="horizontal_resolution" value="0.4"/>
<arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/>
<arg name="calibration_file" value="$(find-pkg-share individual_params)/config/$(var vehicle_id)/aip_x2/pandar/front_lower.csv" />
<arg name="launch_driver" value="$(var launch_driver)" />
<!--arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" /-->
<arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" />
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)" />
</include>
</group>
Expand All @@ -57,22 +57,22 @@
<arg name="cloud_max_angle" value="300"/>
<arg name="min_range" value="0.1"/>
<arg name="max_range" value="20.0"/>
<!--arg name="blockage_range" value="[90.0, 270.0]"/-->
<!--arg name="vertical_bins" value ="40" /-->
<!--arg name="horizontal_ring_id" value="12" /-->
<arg name="angle_range" value="[120.0, 300.0]"/>
<arg name="vertical_bins" value ="40" />
<arg name="horizontal_ring_id" value="12" />
<arg name="return_mode" value="First" />
<arg name="ptp_profile" value="1588v2"/>
<arg name="ptp_transport_type" value="UDP"/>
<arg name="ptp_switch_type" value="NON_TSN"/>
<arg name="ptp_domain" value="0"/>
<!--arg name="min_azimuth_deg" value="135.0"/-->
<!--arg name="max_azimuth_deg" value="225.0"/-->
<!--arg name="is_channel_order_top2down" value="true"/-->
<!--arg name="horizontal_resolution" value="0.4"/-->
<!--arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/-->
<arg name="min_azimuth_deg" value="135.0"/>
<arg name="max_azimuth_deg" value="225.0"/>
<arg name="is_channel_order_top2down" value="true"/>
<arg name="horizontal_resolution" value="0.4"/>
<arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/>
<arg name="calibration_file" value="$(find-pkg-share individual_params)/config/$(var vehicle_id)/aip_x2/pandar/front_upper.csv" />
<arg name="launch_driver" value="$(var launch_driver)" />
<!--arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" /-->
<arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" />
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)" />
</include>
</group>
Expand All @@ -90,22 +90,22 @@
<arg name="cloud_max_angle" value="305"/>
<arg name="min_range" value="0.5"/>
<arg name="max_range" value="200.0"/>
<!--arg name="blockage_range" value="[90.0, 270.0]"/-->
<!--arg name="vertical_bins" value ="40" /-->
<!--arg name="horizontal_ring_id" value="12" /-->
<arg name="angle_range" value="[90.0, 305.0]"/>
<arg name="vertical_bins" value ="40" />
<arg name="horizontal_ring_id" value="12" />
<arg name="return_mode" value="Dual" />
<arg name="ptp_profile" value="1588v2"/>
<arg name="ptp_transport_type" value="UDP"/>
<arg name="ptp_switch_type" value="NON_TSN"/>
<arg name="ptp_domain" value="0"/>
<!--arg name="min_azimuth_deg" value="135.0"/-->
<!--arg name="max_azimuth_deg" value="225.0"/-->
<!--arg name="is_channel_order_top2down" value="true"/-->
<!--arg name="horizontal_resolution" value="0.4"/-->
<!--arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/-->
<arg name="min_azimuth_deg" value="135.0"/>
<arg name="max_azimuth_deg" value="225.0"/>
<arg name="is_channel_order_top2down" value="true"/>
<arg name="horizontal_resolution" value="0.4"/>
<arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/>
<arg name="calibration_file" value="$(find-pkg-share individual_params)/config/$(var vehicle_id)/aip_x2/pandar/left_upper.csv" />
<arg name="launch_driver" value="$(var launch_driver)" />
<!--arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" /-->
<arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" />
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)" />
</include>
</group>
Expand All @@ -123,22 +123,22 @@
<arg name="cloud_max_angle" value="270"/>
<arg name="min_range" value="0.1"/>
<arg name="max_range" value="20.0"/>
<!--arg name="blockage_range" value="[90.0, 270.0]"/-->
<!--arg name="vertical_bins" value ="40" /-->
<!--arg name="horizontal_ring_id" value="12" /-->
<arg name="angle_range" value="[90.0, 270.0]"/>
<arg name="vertical_bins" value ="40" />
<arg name="horizontal_ring_id" value="12" />
<arg name="return_mode" value="First" />
<arg name="ptp_profile" value="1588v2"/>
<arg name="ptp_transport_type" value="UDP"/>
<arg name="ptp_switch_type" value="NON_TSN"/>
<arg name="ptp_domain" value="0"/>
<!--arg name="min_azimuth_deg" value="135.0"/-->
<!--arg name="max_azimuth_deg" value="225.0"/-->
<!--arg name="is_channel_order_top2down" value="true"/-->
<!--arg name="horizontal_resolution" value="0.4"/-->
<!--arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/-->
<arg name="min_azimuth_deg" value="135.0"/>
<arg name="max_azimuth_deg" value="225.0"/>
<arg name="is_channel_order_top2down" value="true"/>
<arg name="horizontal_resolution" value="0.4"/>
<arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/>
<arg name="calibration_file" value="$(find-pkg-share individual_params)/config/$(var vehicle_id)/aip_x2/pandar/left_lower.csv" />
<arg name="launch_driver" value="$(var launch_driver)" />
<!--arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" /-->
<arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" />
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)" />
</include>
</group>
Expand All @@ -156,22 +156,22 @@
<arg name="cloud_max_angle" value="270"/>
<arg name="min_range" value="0.5"/>
<arg name="max_range" value="200.0"/>
<!--arg name="blockage_range" value="[90.0, 270.0]"/-->
<!--arg name="vertical_bins" value ="40" /-->
<!--arg name="horizontal_ring_id" value="12" /-->
<arg name="angle_range" value="[55.0, 270.0]"/>
<arg name="vertical_bins" value ="40" />
<arg name="horizontal_ring_id" value="12" />
<arg name="return_mode" value="Dual" />
<arg name="ptp_profile" value="1588v2"/>
<arg name="ptp_transport_type" value="UDP"/>
<arg name="ptp_switch_type" value="NON_TSN"/>
<arg name="ptp_domain" value="0"/>
<!--arg name="min_azimuth_deg" value="135.0"/-->
<!--arg name="max_azimuth_deg" value="225.0"/-->
<!--arg name="is_channel_order_top2down" value="true"/-->
<!--arg name="horizontal_resolution" value="0.4"/-->
<!--arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/-->
<arg name="min_azimuth_deg" value="135.0"/>
<arg name="max_azimuth_deg" value="225.0"/>
<arg name="is_channel_order_top2down" value="true"/>
<arg name="horizontal_resolution" value="0.4"/>
<arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/>
<arg name="calibration_file" value="$(find-pkg-share individual_params)/config/$(var vehicle_id)/aip_x2/pandar/right_upper.csv" />
<arg name="launch_driver" value="$(var launch_driver)" />
<!--arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" /-->
<arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" />
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)" />
</include>
</group>
Expand All @@ -189,22 +189,22 @@
<arg name="cloud_max_angle" value="270"/>
<arg name="min_range" value="0.1"/>
<arg name="max_range" value="20.0"/>
<!--arg name="blockage_range" value="[90.0, 270.0]"/-->
<!--arg name="vertical_bins" value ="40" /-->
<!--arg name="horizontal_ring_id" value="12" /-->
<arg name="angle_range" value="[90.0, 270.0]"/>
<arg name="vertical_bins" value ="40" />
<arg name="horizontal_ring_id" value="12" />
<arg name="return_mode" value="First" />
<arg name="ptp_profile" value="1588v2"/>
<arg name="ptp_transport_type" value="UDP"/>
<arg name="ptp_switch_type" value="NON_TSN"/>
<arg name="ptp_domain" value="0"/>
<!--arg name="min_azimuth_deg" value="135.0"/-->
<!--arg name="max_azimuth_deg" value="225.0"/-->
<!--arg name="is_channel_order_top2down" value="true"/-->
<!--arg name="horizontal_resolution" value="0.4"/-->
<!--arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/-->
<arg name="min_azimuth_deg" value="135.0"/>
<arg name="max_azimuth_deg" value="225.0"/>
<arg name="is_channel_order_top2down" value="true"/>
<arg name="horizontal_resolution" value="0.4"/>
<arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/>
<arg name="calibration_file" value="$(find-pkg-share individual_params)/config/$(var vehicle_id)/aip_x2/pandar/right_lower.csv" />
<arg name="launch_driver" value="$(var launch_driver)" />
<!--arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" /-->
<arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" />
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)" />
</include>
</group>
Expand All @@ -222,22 +222,22 @@
<arg name="cloud_max_angle" value="270"/>
<arg name="min_range" value="0.5"/>
<arg name="max_range" value="200.0"/>
<!--arg name="blockage_range" value="[90.0, 270.0]"/-->
<!--arg name="vertical_bins" value ="40" /-->
<!--arg name="horizontal_ring_id" value="12" /-->
<arg name="angle_range" value="[90.0, 270.0]"/>
<arg name="vertical_bins" value ="40" />
<arg name="horizontal_ring_id" value="12" />
<arg name="return_mode" value="Dual" />
<arg name="ptp_profile" value="1588v2"/>
<arg name="ptp_transport_type" value="UDP"/>
<arg name="ptp_switch_type" value="NON_TSN"/>
<arg name="ptp_domain" value="0"/>
<!--arg name="min_azimuth_deg" value="135.0"/-->
<!--arg name="max_azimuth_deg" value="225.0"/-->
<!--arg name="is_channel_order_top2down" value="true"/-->
<!--arg name="horizontal_resolution" value="0.4"/-->
<!--arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/-->
<arg name="min_azimuth_deg" value="135.0"/>
<arg name="max_azimuth_deg" value="225.0"/>
<arg name="is_channel_order_top2down" value="true"/>
<arg name="horizontal_resolution" value="0.4"/>
<arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/>
<arg name="calibration_file" value="$(find-pkg-share individual_params)/config/$(var vehicle_id)/aip_x2/pandar/rear_lower.csv" />
<arg name="launch_driver" value="$(var launch_driver)" />
<!--arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" /-->
<arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" />
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)" />
</include>
</group>
Expand All @@ -255,22 +255,22 @@
<arg name="cloud_max_angle" value="290"/>
<arg name="min_range" value="0.1"/>
<arg name="max_range" value="20.0"/>
<!--arg name="blockage_range" value="[90.0, 270.0]"/-->
<!--arg name="vertical_bins" value ="40" /-->
<!--arg name="horizontal_ring_id" value="12" /-->
<arg name="return_mode" value="Dual" />
<arg name="angle_range" value="[110.0, 290.0]"/>
<arg name="vertical_bins" value ="40" />
<arg name="horizontal_ring_id" value="12" />
<arg name="return_mode" value="First" />
<arg name="ptp_profile" value="1588v2"/>
<arg name="ptp_transport_type" value="UDP"/>
<arg name="ptp_switch_type" value="NON_TSN"/>
<arg name="ptp_domain" value="0"/>
<!--arg name="min_azimuth_deg" value="135.0"/-->
<!--arg name="max_azimuth_deg" value="225.0"/-->
<!--arg name="is_channel_order_top2down" value="true"/-->
<!--arg name="horizontal_resolution" value="0.4"/-->
<!--arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/-->
<arg name="min_azimuth_deg" value="135.0"/>
<arg name="max_azimuth_deg" value="225.0"/>
<arg name="is_channel_order_top2down" value="true"/>
<arg name="horizontal_resolution" value="0.4"/>
<arg name="enable_blockage_diag" value="$(var enable_blockage_diag)"/>
<arg name="calibration_file" value="$(find-pkg-share individual_params)/config/$(var vehicle_id)/aip_x2/pandar/rear_upper.csv" />
<arg name="launch_driver" value="$(var launch_driver)" />
<!--arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" /-->
<arg name="dual_return_filter_param_file" value="$(var dual_return_filter_param_file)" />
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)" />
</include>
</group>
Expand Down
Loading

0 comments on commit 9429507

Please sign in to comment.