Go to the documentation of this file.00001
00002 import roslib
00003 import rospy
00004 from std_msgs.msg import Float64
00005 import math
00006
00007 rospy.init_node('example1')
00008
00009
00010
00011
00012
00013 ffj3_pub = rospy.Publisher(
00014 "/sh_ffj3_muscle_position_controller/command", Float64, latch=True)
00015
00016
00017 ffj3_pub.publish(0)
00018 rospy.sleep(2)
00019 ffj3_pub.publish(math.radians(90))
00020 rospy.sleep(6)
00021
00022
00023 msg = Float64()
00024 msg.data = 0
00025 ffj3_pub.publish(msg)
00026 rospy.sleep(2)