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
def test_bundles(self): ms = MotorSet(motors=self.ctrl.motors) ms.cw_angle_limit = 150 ms.angle_limits = (-150, 150)