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: ExperimentServer MotorShield QEI_pmw
Revision 29:dc2556b300a6, committed 2022-11-20
- Comitter:
- erinay
- Date:
- Sun Nov 20 18:42:59 2022 -0500
- Parent:
- 28:925794e4178b
- Commit message:
- Import_Existing|
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Nov 20 23:16:31 2022 +0000 +++ b/main.cpp Sun Nov 20 18:42:59 2022 -0500 @@ -171,7 +171,7 @@ // float Jy_th1 = l_AC*sin(th1+th2)+l_DE*sin(th1)+l_OB*sin(th1); // float Jy_th2 = l_AC*sin(th1+th2); - // Calculate the forward kinematics (position and velocity) + Calculate the forward kinematics (position and velocity) // float xFoot = l_AC*sin(th1+th2)+l_DE*sin(th1)+l_OB*sin(th1); // float yFoot = -l_AC*cos(th1+th2)-l_DE*cos(th1)-l_OB*cos(th1); // float dxFoot = velocity1*(l_AC*cos(th1+th2)+l_DE*cos(th1)+l_OB*cos(th1))+velocity2*l_AC*cos(th1+th2);