from random import uniform
from morse.builder import *
robot = BasePR2() # Bare PR2 model
robot.add_default_interface('ros') # control PR2 via ROS
for i in range(30):
human = Human() # create human 'robot'
human.translate(uniform(-5, 5), uniform(-5, 5))
waypoint = Waypoint() # create actuator
waypoint.add_interface('socket') # control via sockets
human.append(waypoint)
env = Environment("office.blend") # load custom 3d model