mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
37cfd17de6
Test motor_driver API by making 2 motors turn clockwise and counter-clockwise alternatively. Speed varies from 0 to max PWM duty cycle. Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
23 lines
592 B
Markdown
23 lines
592 B
Markdown
Motor driver test
|
|
======
|
|
|
|
Background
|
|
------
|
|
|
|
Test for the high level `motor_driver` driver.
|
|
|
|
Expected result
|
|
------
|
|
|
|
Should do an infinite loop :
|
|
1) Both motors should turn at half pwm duty cycle speed in clowkwise
|
|
direction.
|
|
2) Both motors should turn at full pwm duty cycle speed in clowkwise
|
|
direction.
|
|
3) Both motors should brake.
|
|
4) Both motors should turn at half pwm duty cycle speed in counter
|
|
clowkwise direction.
|
|
5) Both motors should turn at full pwm duty cycle speed in counter
|
|
clowkwise direction.
|
|
6) Both motors should brake.
|