Skip to content

Commit

Permalink
Merge pull request #84 from lbl-anp/add-launch
Browse files Browse the repository at this point in the history
Add launch file with port arg
  • Loading branch information
dheera committed Sep 5, 2023
2 parents 3579d2d + 86ad41a commit 83b6741
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ catkin_install_python(PROGRAMS
nodes/rosboard_node
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

install(DIRECTORY
launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
8 changes: 8 additions & 0 deletions launch/rosboard.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0"?>

<launch>
<arg name="port" default="8888"/>
<node name="rosboard" pkg="rosboard" type="rosboard_node" output="screen">
<param name="port" value="$(arg port)"/>
</node>
</launch>

0 comments on commit 83b6741

Please sign in to comment.