Skip to content

Commit

Permalink
feat: add use_awsim option
Browse files Browse the repository at this point in the history
Signed-off-by: 1222-takeshi <[email protected]>
  • Loading branch information
1222-takeshi committed Dec 13, 2023
1 parent aa96913 commit ac41451
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions aip_x1_1_launch/launch/lidar.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<arg name="vehicle_mirror_param_file" />
<arg name="use_pointcloud_container" default="false" description="launch pointcloud container"/>
<arg name="pointcloud_container_name" default="pointcloud_container"/>
<arg name="use_awsim" default="false" description="launch awsim"/>

<group>
<push-ros-namespace namespace="lidar"/>
Expand All @@ -23,7 +24,7 @@
</include>
</group>

<group>
<group unless="$(var use_awsim)">
<push-ros-namespace namespace="front_center" />
<include file="$(find-pkg-share aip_x1_1_launch)/launch/pandar_node_container.launch.py">
<arg name="model" value="PandarXT-32" />
Expand All @@ -40,14 +41,14 @@
</include>
</group>

<include file="$(find-pkg-share aip_x1_1_launch)/launch/pointcloud_preprocessor.launch.py">
<include file="$(find-pkg-share aip_x1_1_launch)/launch/pointcloud_preprocessor.launch.py" unless="$(var use_awsim)">
<arg name="base_frame" value="base_link" />
<arg name="use_intra_process" value="true" />
<arg name="use_multithread" value="false" />
<arg name="use_pointcloud_container" value="$(var use_pointcloud_container)" />
<arg name="container_name" value="$(var pointcloud_container_name)"/>
</include>

<include file="$(find-pkg-share aip_x1_1_launch)/launch/topic_state_monitor.launch.py" />
<include file="$(find-pkg-share aip_x1_1_launch)/launch/topic_state_monitor.launch.py" unless="$(var use_awsim)"/>
</group>
</launch>

0 comments on commit ac41451

Please sign in to comment.