diff --git a/pybricks/ev3devices.py b/pybricks/ev3devices.py index 3e8c389..fcb7675 100644 --- a/pybricks/ev3devices.py +++ b/pybricks/ev3devices.py @@ -5,15 +5,7 @@ from .builtins import Motor class TouchSensor(): - """LEGO® MINDSTORMS® EV3 Touch Sensor. - - Element 95648/6138404, contained in: - - * 31313: LEGO® MINDSTORMS® EV3 (2013) - * 45544: LEGO® MINDSTORMS® Education EV3 Core Set (2013) - * 45507: Separate part (2013) - - """ + """LEGO® MINDSTORMS® EV3 Touch Sensor.""" def __init__(self, port): """TouchSensor(port) @@ -35,14 +27,7 @@ class TouchSensor(): class ColorSensor(): - """LEGO® MINDSTORMS® EV3 Color Sensor. - - Element 95650/6128869, contained in: - - * 31313: LEGO® MINDSTORMS® EV3 (2013) - * 45544: LEGO® MINDSTORMS® Education EV3 Core Set (2013) - * 45506: Separate part (2013) - """ + """LEGO® MINDSTORMS® EV3 Color Sensor.""" def __init__(self, port): """ColorSensor(port) @@ -97,13 +82,7 @@ class ColorSensor(): class InfraredSensor(): - """LEGO® MINDSTORMS® EV3 Infrared Sensor and Beacon. - - Element 95654/6132629 and 72156/6127283, contained in: - - * 31313: LEGO® MINDSTORMS® EV3 (2013) - * 45509 and 45508: Separate parts (2013) - """ + """LEGO® MINDSTORMS® EV3 Infrared Sensor and Beacon.""" def __init__(self, port): """InfraredSensor(port) @@ -170,13 +149,7 @@ class InfraredSensor(): class GyroSensor(): - """LEGO® MINDSTORMS® EV3 Gyro Sensor. - - Element 99380/6138411, contained in: - - * 45544: LEGO® MINDSTORMS® Education EV3 Core Set (2013) - * 45505: Separate part (2013) - """ + """LEGO® MINDSTORMS® EV3 Gyro Sensor.""" def __init__(self, port, positive_direction=Direction.CLOCKWISE): """ @@ -233,14 +206,7 @@ class GyroSensor(): class UltrasonicSensor(): - """LEGO® MINDSTORMS® EV3 Ultrasonic Sensor. - - Element 95652/6138403, contained in: - - * 45544: LEGO® MINDSTORMS® Education EV3 Core Set (2013) - * 45504: Separate part (2013) - - """ + """LEGO® MINDSTORMS® EV3 Ultrasonic Sensor.""" def __init__(self, port): """UltrasonicSensor(port) diff --git a/pybricks/pupdevices.py b/pybricks/pupdevices.py index 0984298..f92f425 100644 --- a/pybricks/pupdevices.py +++ b/pybricks/pupdevices.py @@ -5,7 +5,7 @@ from .builtins import Motor class RemoteControl(): - """LEGO® Powered Up Bluetooth Remote Control/Handset (6214560)""" + """LEGO® Powered Up Bluetooth Remote Control/Handset.""" light = ColorLight() buttons = KeyPad() @@ -25,7 +25,7 @@ class RemoteControl(): class TiltSensor(Accelerometer): - """LEGO® Powered Up Tilt Sensor (45305/?)""" + """LEGO® Powered Up Tilt Sensor.""" def __init__(self, port): """TiltSensor(port) @@ -37,7 +37,7 @@ class TiltSensor(Accelerometer): class ColorDistanceSensor(): - """LEGO® Powered Up Color and Distance Sensor (?/6182145)""" + """LEGO® Powered Up Color and Distance Sensor.""" light = ColorLight()