Skip to content

Commit

Permalink
feat(e2e_simulator.launch): add argument for running the CARLA interf…
Browse files Browse the repository at this point in the history
…ace (#924)

Signed-off-by: Giovanni Muhammad Raditya <[email protected]>
  • Loading branch information
mraditya01 authored May 27, 2024
1 parent cada67d commit 9ecea1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoware_launch/launch/e2e_simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<arg name="vehicle_model" default="sample_vehicle" description="vehicle model name"/>
<arg name="sensor_model" default="sample_sensor_kit" description="sensor model name"/>
<arg name="data_path" default="$(env HOME)/autoware_data" description="packages data and artifacts directory path"/>
<arg name="simulator_type" default="awsim" description="select the simulator type ('awsim' or 'carla')"/>

<!-- launch module preset -->
<arg name="planning_module_preset" default="default" description="planning module preset"/>
Expand Down Expand Up @@ -39,6 +40,9 @@
<!-- Tools -->
<arg name="rviz" default="true" description="launch rviz"/>
<arg name="rviz_config" default="$(find-pkg-share autoware_launch)/rviz/autoware.rviz" description="rviz config"/>
<group scoped="false" if="$(eval '\'$(var simulator_type)\' == \'carla\'')">
<include file="$(find-pkg-share carla_autoware)/carla_autoware.launch.xml"/>
</group>

<group scoped="false">
<include file="$(find-pkg-share autoware_launch)/launch/autoware.launch.xml">
Expand Down

0 comments on commit 9ecea1f

Please sign in to comment.