doc: share motor doc between platforms

This commit is contained in:
Laurens Valk
2019-04-20 10:53:01 +02:00
parent c4b11fdb77
commit b359c3c530
+17 -17
View File
@@ -1,50 +1,50 @@
:mod:`lpf2` -- Power Function 2.0 Motors and Sensors
====================================================
.. automodule:: ev3devices
.. automodule:: lpf2devices
:no-members:
Motors
------
.. autoclass:: ev3devices.Motor
.. autoclass:: lpf2devices.Motor
:no-members:
.. rubric:: Methods for motors without rotation sensors
.. automethod:: ev3devices.Motor.dc
.. automethod:: lpf2devices.Motor.dc
.. rubric:: Methods for motors with rotation sensors
.. automethod:: ev3devices.Motor.angle
.. automethod:: lpf2devices.Motor.angle
.. automethod:: ev3devices.Motor.reset_angle
.. automethod:: lpf2devices.Motor.reset_angle
.. automethod:: ev3devices.Motor.speed
.. automethod:: lpf2devices.Motor.speed
.. automethod:: ev3devices.Motor.stop
.. automethod:: lpf2devices.Motor.stop
.. automethod:: ev3devices.Motor.run
.. automethod:: lpf2devices.Motor.run
.. automethod:: ev3devices.Motor.run_time
.. automethod:: lpf2devices.Motor.run_time
.. automethod:: ev3devices.Motor.run_angle
.. automethod:: lpf2devices.Motor.run_angle
.. automethod:: ev3devices.Motor.run_target
.. automethod:: lpf2devices.Motor.run_target
.. rubric:: Advanced methods for motors with rotation sensors
.. automethod:: ev3devices.Motor.track_target
.. automethod:: lpf2devices.Motor.track_target
.. automethod:: ev3devices.Motor.stalled
.. automethod:: lpf2devices.Motor.stalled
.. automethod:: ev3devices.Motor.run_until_stalled
.. automethod:: lpf2devices.Motor.run_until_stalled
.. automethod:: ev3devices.Motor.set_dc_settings
.. automethod:: lpf2devices.Motor.set_dc_settings
.. automethod:: ev3devices.Motor.set_run_settings
.. automethod:: lpf2devices.Motor.set_run_settings
.. automethod:: ev3devices.Motor.set_pid_settings
.. automethod:: lpf2devices.Motor.set_pid_settings
Sensors
-------