Skip to content

Commit

Permalink
chore(aeva): use arg with choices instead of textual descriptions for…
Browse files Browse the repository at this point in the history
… sensor_model in launch file

Signed-off-by: Max SCHMELLER <[email protected]>
  • Loading branch information
mojomex committed Nov 18, 2024
1 parent d7f1c7a commit 3a7898a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions nebula_ros/launch/aeva_launch_all_hw.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<?xml version="1.0"?>
<launch>
<arg name="sensor_model" description="Aeries2"/>
<arg name="config_file" default="$(find-pkg-share nebula_ros)/config/lidar/aeva/$(var sensor_model).param.yaml"/>
<arg name="sensor_model">
<choice value="Aeries2" />
</arg>

<arg name="config_file"
default="$(find-pkg-share nebula_ros)/config/lidar/aeva/$(var sensor_model).param.yaml" />

<node pkg="nebula_ros" exec="aeva_ros_wrapper_node" name="aeva_ros_wrapper_node" output="screen">
<param from="$(var config_file)" allow_substs="true"/>
<param from="$(var config_file)" allow_substs="true" />
</node>

</launch>

0 comments on commit 3a7898a

Please sign in to comment.