Skip to content

Commit

Permalink
Add example launch script.
Browse files Browse the repository at this point in the history
  • Loading branch information
vooon committed Jan 24, 2015
1 parent 6e6254e commit 7f7923e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ install(TARGETS shm_driver
)

## Mark other files for installation (e.g. launch and bag files, etc.)
# install(FILES
# # myfile1
# # myfile2
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
# )
install(DIRECTORY launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
)

# vim: ts=2 sw=2 et:
12 changes: 12 additions & 0 deletions launch/chrony.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<launch>
<!-- vim: ft=xml -->
<!-- example node launch file-->

<arg name="shm_unit" default="2" />
<arg name="time_ref" default="/time_ref" />

<node pkg="ntpd_driver" type="shm_driver" name="ntpd_shm" respawn="true" respawn_delay="10" clear_params="true" output="screen">
<param name="shm_unit" value="$(arg shm_unit)" />
<remap from="~/time_ref" to="$(arg time_ref)" />
</node>
</launch>

0 comments on commit 7f7923e

Please sign in to comment.