test.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # coding: utf-8
3 
4 import rospy
5 import sys
6 
7 rospy.init_node('talker', anonymous=True)
8 rospy.loginfo("This is a test script.")
9 # print an argument recieved from test launch file
10 rospy.loginfo("Argument1: " + sys.argv[1])
11 


timed_roslaunch
Author(s): Masaru Morita
autogenerated on Mon Jun 10 2019 15:23:22