Skip to content

Commit

Permalink
feat(psim)!: change a setting parameter type from bool to string (aut…
Browse files Browse the repository at this point in the history
…owarefoundation#8331)

* change a param type, bool to string
* add param description, add null tag group for the null option
---------
Signed-off-by: Yuki Takagi <[email protected]>
  • Loading branch information
yuki-takagi-66 authored and kosuke55 committed Aug 22, 2024
1 parent b407468 commit c13adea
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions launch/tier4_simulator_launch/launch/simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
<arg name="launch_simulator_perception_modules" default="true"/>
<arg name="launch_dummy_perception"/>
<arg name="launch_dummy_vehicle"/>
<arg name="launch_dummy_localization"/>
<arg
name="localization_sim_mode"
description="Select localization mode. Options are 'none' or 'api'. 'api' starts an external API for initial position estimation. 'none' does not start any localization-related process."
/>
<arg name="launch_dummy_doors"/>
<arg name="launch_diagnostic_converter"/>
<arg name="vehicle_info_param_file"/>
Expand Down Expand Up @@ -127,7 +130,11 @@
</group>

<!-- Dummy localization -->
<group if="$(var launch_dummy_localization)">
<group if="$(eval '&quot;$(var localization_sim_mode)&quot;==&quot;none&quot;')">
<!-- Do nothing -->
</group>

<group if="$(eval '&quot;$(var localization_sim_mode)&quot;==&quot;api&quot;')">
<include file="$(find-pkg-share pose_initializer)/launch/pose_initializer.launch.xml">
<arg name="user_defined_initial_pose/enable" value="false"/>
<arg name="user_defined_initial_pose/pose" value="[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0]"/>
Expand Down

0 comments on commit c13adea

Please sign in to comment.