ocs2fc_publisher.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 import rospy
00003 from jsk_network_tools.msg import OCS2FC
00004 
00005 if __name__ == "__main__":
00006     rospy.init_node("ocs2fc_test_publisher")
00007     pub = rospy.Publisher("ocs2fc_original", OCS2FC)
00008     r = rospy.Rate(10)
00009     while not rospy.is_shutdown():
00010         msg = OCS2FC()
00011         msg.joint_angles = [10] * 32
00012         msg.stop = True
00013         pub.publish(msg)
00014         r.sleep()
00015         


jsk_network_tools
Author(s): Yusuke Furuta
autogenerated on Sun Jan 25 2015 12:38:31