00001 #!/usr/bin/env python 00002 import roslib; roslib.load_manifest('cob_moveit_interface') 00003 import rospy 00004 00005 import simple_moveit_interface as smi 00006 00007 if __name__ == '__main__': 00008 rospy.init_node('move_example') 00009 while rospy.get_time() == 0.0: pass 00010 00011 config = smi.get_goal_from_server("arm", "home") 00012 print config 00013 success = smi.moveit_joint_goal("arm", config) 00014 print success 00015 00016