
als;djfpoafb hnw3jg
Dependencies: MatrixMath Matrix ExperimentServer QEI_pmw MotorShield
Revision 6:7f39aa2c97da, committed 2021-11-30
- Comitter:
- lschwend
- Date:
- Tue Nov 30 22:20:16 2021 +0000
- Parent:
- 5:3d30627ae76e
- Child:
- 7:b539135656cb
- Commit message:
- the code;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Nov 30 21:52:04 2021 +0000 +++ b/main.cpp Tue Nov 30 22:20:16 2021 +0000 @@ -477,8 +477,10 @@ // Set desired currents current_des1 = (Jx_th1*fx+Jy_th1*fy)/k_t; current_des2 = (Jx_th2*fx+Jy_th2*fy)/k_t; - current_des3 = (Jx_th1*fx2+Jy_th1*fy2)/k_t; - current_des4 = (Jx_th2*fx2+Jy_th2*fy2)/k_t; + current_des3 = (Jx_th3*fx2+Jy_th3*fy2)/k_t; + current_des4 = (Jx_th4*fx2+Jy_th4*fy2)/k_t + +