
als;djfpoafb hnw3jg
Dependencies: MatrixMath Matrix ExperimentServer QEI_pmw MotorShield
Diff: main.cpp
- Revision:
- 6:7f39aa2c97da
- Parent:
- 5:3d30627ae76e
- Child:
- 7:b539135656cb
--- 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 + +