trial_pub.py
Go to the documentation of this file.
00001 import roslib; roslib.load_manifest('hrl_lib')
00002 import rospy
00003 import std_srvs.srv as srv
00004 from hrl_msgs.msg import FloatArray
00005 
00006 import time
00007 
00008 x = 3.0
00009 rospy.init_node('trial_publisher')
00010 pub = rospy.Publisher( 'trial_pub', FloatArray)
00011 while not rospy.is_shutdown():
00012     x += 0.1
00013     fa = FloatArray()
00014     fa.data = [ x, x+1.0, x+2.0 ]
00015     pub.publish( fa )
00016     time.sleep( 0.3 )


force_torque
Author(s): Advait Jain, Cressel Anderson, Hai Nguyen, Advisor: Prof. Charlie Kemp, Lab: Healthcare Robotics Lab at Georgia Tech
autogenerated on Wed Nov 27 2013 11:58:12