def __init__(self, world, name="My GL simulation program"): """Arguments: - world: a RobotWorld instance. """ GLRealtimeProgram.__init__(self, name) self.world = world #Put your initialization code here #the current example creates a collision class, simulator, #simulation flag, and screenshot flags self.collider = robotcollide.WorldCollider(world) self.sim = Simulator(world) self.simulate = False self.commanded_config_color = [0, 1, 0, 0.5] self.saveScreenshots = False self.nextScreenshotTime = 0 self.screenshotCount = 0 self.verbose = 0