00001 #!/usr/bin/python 00002 00003 import rospy 00004 from easy_markers.interactive import InteractiveGenerator 00005 00006 def callback(feedback): 00007 print feedback 00008 00009 if __name__=='__main__': 00010 rospy.init_node('itest') 00011 00012 ig = InteractiveGenerator() 00013 ig.makeMarker(controls=["move_x", "rotate_x"]) 00014 ig.makeMarker(controls=["move_y", "rotate_y"], pose=[1,0,0], description="X") 00015 rospy.spin()