00001 #!/usr/bin/env python 00002 # -*- coding: utf-8 -*- 00003 import roslib; roslib.load_manifest('openraveros_tutorials') 00004 import rospy 00005 00006 from openraveros.srv import env_loadscene 00007 00008 if __name__ == "__main__": 00009 rospy.wait_for_service('openrave/env_loadscene') 00010 env_loadscene = rospy.ServiceProxy('openrave/env_loadscene', env_loadscene) 00011 env_loadscene(filename='data/lab1.env.xml',resetscene=1) 00012