Skip to content

Commit 518fabd

Browse files
author
Aaron Roller
authored
Merge pull request #144 from AutoModality/AM-695/empty-platform
fix: platform param provided when AM_PLATFORM is not AM-695/empty-platform
2 parents 2a44a17 + 899bb00 commit 518fabd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

launch/am_super.launch

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" ?>
22
<launch>
3-
<arg name="platform" value="$(eval optenv('AM_PLATFORM'))" />
3+
<arg name="platform" value="$(eval optenv('AM_PLATFORM'))" if="$(eval optenv('AM_PLATFORM') != '')" />
4+
<arg name="platform" value="dev" if="$(eval optenv('AM_PLATFORM') == '')" />
45
<node pkg="am_super" type="am_super" name="am_super" output="screen">
56
<rosparam command="load" file="$(find am_super)/launch/am_super.yaml" subst_value="true">
67
<arg name="platform" value="$(arg platform)" />

0 commit comments

Comments
 (0)