generate_room_world.py
Go to the documentation of this file.
00001 #! /usr/bin/env python
00002 
00003 import sys
00004 import os
00005 import commands
00006 
00007 
00008 def generate_room_world (name):
00009 
00010     # make models and world file
00011     eus_script_path = commands.getoutput('rospack find hrpsys_gazebo_tutorials') + '/euslisp/hrpsys-gazebo-utils.l'
00012     os.system('rosrun roseus roseus %s "(progn (generate-room-models \\"%s\\") (exit))"' % (eus_script_path, name))
00013 
00014 
00015 if __name__ == '__main__':
00016     if len(sys.argv) > 1:
00017         generate_room_world(sys.argv[1])
00018     else:
00019         print "usage: %s room-name" % sys.argv[0]


hrpsys_gazebo_tutorials
Author(s): Yohei Kakiuchi
autogenerated on Tue Oct 7 2014 12:01:15