Example #1
0
 def test_error(self):
     ms = MotorSet(motors=self.ctrl.motors)
     ms.cw_angle_limit = 150
     time.sleep(0.1)
     with self.assertRaises(exc.MotorError):
         ms.cw_angle_limit = 100
Example #2
0
 def test_bundles(self):
     ms = MotorSet(motors=self.ctrl.motors)
     ms.cw_angle_limit = 150
     ms.angle_limits = (-150, 150)
Example #3
0
 def test_error(self):
     ms = MotorSet(motors=self.ctrl.motors)
     ms.cw_angle_limit = 150
     time.sleep(0.1)
     with self.assertRaises(exc.MotorError):
         ms.cw_angle_limit = 100