Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed PID mbed-rtos
Diff: main.cpp
- Revision:
- 1:71457a2df34a
- Parent:
- 0:8a660654d511
- Child:
- 2:9d0e816d6483
--- a/main.cpp Sat Apr 20 10:01:22 2019 +0000 +++ b/main.cpp Mon Apr 22 13:10:42 2019 +0000 @@ -60,7 +60,7 @@ a = 1.0f; b = 0.5f; beta = 0.0f; - R=sqrt(pow(a,2) * pow(sin(beta + phi),2) + pow(b,2) * pow(cos(beta + phi),2)); + R=sqrt(pow(a,2) * pow(sin(beta + phi),2) + pow(b,2) * pow(cos(beta + phi),2)); // Torque in function of the Elipse parameters linkspedal.setTorque(R*P_Factor); rechtspedal.setTorque(R*P_Factor);