Skip to content

Commit

Permalink
hoge
Browse files Browse the repository at this point in the history
Signed-off-by: Autumn60 <[email protected]>
  • Loading branch information
Autumn60 committed Jan 14, 2025
1 parent 41398ef commit 91405b3
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 123 deletions.
2 changes: 1 addition & 1 deletion aip_x1_launch/launch/imu.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<push-ros-namespace namespace="imu"/>

<arg name="launch_driver" default="true" />
<arg name="interface" default="canIMU"/>
<arg name="interface" default="can1"/>
<arg name="receiver_interval_sec" default="0.01"/>
<arg name ="vehicle_id" default="$(env VEHICLE_ID default)" />

Expand Down
7 changes: 5 additions & 2 deletions aip_x1_launch/launch/lidar.launch.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<launch>

<arg name="launch_driver" default="true" />
<arg name="host_ip" default="127.0.0.1"/>
<arg name="host_ip" default="192.168.3.1"/>
<arg name="use_concat_filter" default="true" />
<arg name="use_radius_search" default="false" />
<arg name="vehicle_id" default="$(env VEHICLE_ID default)" />
<arg name="vehicle_mirror_param_file" />
<arg name="pointcloud_container_name" default="pointcloud_container"/>
<arg name="enable_blockage_diag" default="false"/>
<arg name="udp_only" default="true"/>

<group>
<push-ros-namespace namespace="lidar"/>
Expand All @@ -17,7 +18,7 @@
<include file="$(find-pkg-share common_sensor_launch)/launch/hesai_XT32.launch.xml">
<arg name="sensor_frame" value="pandar_xt32_top" />
<arg name="sensor_ip" value="192.168.3.200" />
<arg name="data_port" value="2321" />
<arg name="data_port" value="2320" />
<arg name="gnss_port" value="10121" />
<arg name="scan_phase" value="0.0" />
<arg name="cloud_min_angle" value="0"/>
Expand All @@ -29,6 +30,7 @@
<arg name="launch_driver" value="$(var launch_driver)" />
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)" />
<arg name="container_name" value="pointcloud_container"/>
<arg name="udp_only" value="$(var udp_only)"/>
</include>
</group>

Expand All @@ -49,6 +51,7 @@
<arg name="launch_driver" value="$(var launch_driver)" />
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)" />
<arg name="container_name" value="pointcloud_container"/>
<arg name="udp_only" value="$(var udp_only)"/>
</include>
</group>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**:
ros__parameters:
base_frame: base_link
use_imu: true
use_3d_distortion_correction: false
update_azimuth_and_distance: false
14 changes: 14 additions & 0 deletions common_sensor_launch/config/ring_outlier_filter_node.param.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**:
ros__parameters:
distance_ratio: 1.03
object_length_threshold: 0.1
num_points_threshold: 4
max_rings_num: 128
max_points_num_per_ring: 4000
publish_outlier_pointcloud: false
min_azimuth_deg: 0.0
max_azimuth_deg: 360.0
max_distance: 12.0
vertical_bins: 128
horizontal_bins: 36
noise_threshold: 2
32 changes: 22 additions & 10 deletions common_sensor_launch/launch/hesai_XT32.launch.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
<launch>

<!-- Params -->
<arg name="launch_driver" default="true"/>
<arg name="launch_driver" default="true" />

<arg name="model" default="PandarXT32"/>
<arg name="sensor_frame" default="pandar"/>
<arg name="return_mode" default="Strongest"/>
<arg name="sensor_ip" default="192.168.1.201"/>
<arg name="host_ip" default="255.255.255.255"/>
<arg name="data_port" default="2368"/>
<arg name="scan_phase" default="0.0"/>
<arg name="cloud_min_angle" default="0"/>
<arg name="cloud_max_angle" default="360"/>
<arg name="model" default="PandarXT32" />
<arg name="sensor_frame" default="pandar" />
<arg name="return_mode" default="Strongest" />
<arg name="sensor_ip" default="192.168.1.201" />
<arg name="host_ip" default="255.255.255.255" />
<arg name="multicast_ip" default="" />
<arg name="data_port" default="2368" />
<arg name="scan_phase" default="0.0" />
<arg name="cloud_min_angle" default="0" />
<arg name="cloud_max_angle" default="360" />
<arg name="cut_angle" default="0.0" />
<arg name="sync_angle" default="0" />
<arg name="dual_return_distance_threshold" default="0.1"/>
<arg name="vehicle_mirror_param_file"/>
<arg name="container_name" default="hesai_node_container"/>
<arg name="udp_only" default="false"/>
<arg name="retry_hw" default="true"/>

<include file="$(find-pkg-share common_sensor_launch)/launch/nebula_node_container.launch.py">
<arg name="launch_driver" value="$(var launch_driver)"/>
Expand All @@ -23,10 +28,14 @@
<arg name="frame_id" value="$(var sensor_frame)"/>
<arg name="sensor_ip" value="$(var sensor_ip)"/>
<arg name="host_ip" value="$(var host_ip)"/>
<arg name="multicast_ip" value="$(var multicast_ip)"/>
<arg name="data_port" value="$(var data_port)"/>
<arg name="scan_phase" value="$(var scan_phase)"/>
<arg name="cloud_min_angle" value="$(var cloud_min_angle)"/>
<arg name="cloud_max_angle" value="$(var cloud_max_angle)"/>
<arg name="cut_angle" value="$(var cut_angle)" />
<arg name="sync_angle" value="$(var sync_angle)"/>
<arg name="min_range" value="$(var min_range)"/>
<arg name="max_range" value="$(var max_range)"/>
<arg name="dual_return_distance_threshold" value="$(var dual_return_distance_threshold)"/>
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)"/>
Expand All @@ -35,8 +44,11 @@
<arg name="ptp_profile" value="1588v2"/>
<arg name="ptp_switch_type" value="TSN"/>
<arg name="ptp_transport_type" value="UDP"/>
<arg name="ptp_domain" value="1"/>
<arg name="setup_sensor" value="true"/>
<arg name="retry_hw" value="true"/>
<arg name="container_name" value="$(var container_name)"/>
<arg name="udp_only" value="$(var udp_only)"/>
<arg name="retry_hw" value="$(var retry_hw)"/>
</include>
</launch>
Loading

0 comments on commit 91405b3

Please sign in to comment.