Exemplo n.º 1
0
 def __init__ (self, robot_class, *args):
     TestSimu.__init__ (self, robot_class, *args,
             color_switch_set_pos = True)
     self.io = self.robots[0].io
     self.asserv = self.robots[0].asserv
     self.mimot = self.robots[0].mimot
     self.robot_model = self.robots[0].model
Exemplo n.º 2
0
 def __init__ (self, robot_class, *args):
     TestSimu.__init__ (self, robot_class, *args,
             color_switch_set_pos = True)
     self.io = self.robots[0].io
     self.asserv = self.robots[0].asserv
     self.robot_model = self.robots[0].model
     self.io.output (io_hub.apbirthday.output_mask (
         'cake_arm_in', 'cake_push_far_in', 'cake_push_near_in',
         'cherry_plate_down'), 'toggle')
 def __init__ (self, robot_class, *args):
     TestSimu.__init__ (self, robot_class, *args,
             color_switch_set_pos = True)
     self.io = self.robots[0].io
     self.asserv = self.robots[0].asserv
     self.mimot = self.robots[0].mimot
     self.robot_model = self.robots[0].model
     self.io.output (1 << defs.OUTPUT_UPPER_CLAMP_UP, 'toggle')
     self.io.output (1 << defs.OUTPUT_UPPER_CLAMP_IN, 'toggle')
     self.io.output (1 << defs.OUTPUT_DOOR_CLOSE, 'toggle')