from morse.builder import *
robot = BasePR2() # Bare PR2 model
robot.add_default_interface('ros') # control PR2 via ROS
odometry = Odometry() # Sensor for Odometry information
odometry.add_interface('ros', topic="/odom")
robot.append(odometry)
keyboard = Keyboard() # Keyboard control
robot.append(keyboard)
scan = Hokuyo() # Hokuyo 2D laser scanner
scan.translate(x=0.275, z=0.252)
scan.add_interface('ros', topic='/scan')
robot.append(scan)
env = Environment("kitchen.blend") # load custom 3d model