Ejemplo n.º 1
0
 def end_calibration(self):
     """End calibration phase and turn on stabilizer again"""
     logger.info("Calibration done")
     self.reset_default_color()
     self.sphero.set_back_led(0)
     self.sphero.set_heading(0)
     self.in_calibration = False
     WebClientsCommands.sendCalibrationStateAll()
Ejemplo n.º 2
0
 def end_calibration(self):
     """End calibration phase and turn on stabilizer again"""
     logger.info("Calibration done")
     self.reset_default_color()
     self.sphero.set_back_led(0)
     self.sphero.set_heading(0)
     self.in_calibration = False
     WebClientsCommands.sendCalibrationStateAll()
Ejemplo n.º 3
0
 def _start_calibration_sync(self):
     """Sync version of start calibration"""
     logger.info("Calibration starting")
     self.in_calibration = True
     self.sphero.set_back_led(255)
     self.sphero.set_rgb(0, 0, 0)
     self.sphero.roll(0, 0)
     self.sphero.set_heading(0)
     WebClientsCommands.sendCalibrationStateAll()
Ejemplo n.º 4
0
 def _start_calibration_sync(self):
     """Sync version of start calibration"""
     logger.info("Calibration starting")
     self.in_calibration = True
     self.sphero.set_back_led(255)
     self.sphero.set_rgb(0, 0, 0)
     self.sphero.roll(0, 0)
     self.sphero.set_heading(0)
     WebClientsCommands.sendCalibrationStateAll()