SHENG-HEN HSIEH / Mbed 2 deprecated VDU_2021

Dependencies:   mbed imu_driver

Files at this revision

API Documentation at this revision

Comitter:
open4416
Date:
Sun Feb 21 04:25:00 2021 +0000
Parent:
25:3c6e83b449b2
Child:
27:52260996ce32
Commit message:
Add DYNO part

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Feb 21 04:19:41 2021 +0000
+++ b/main.cpp	Sun Feb 21 04:25:00 2021 +0000
@@ -587,6 +587,13 @@
 //    FR_Tcmd = 1.0f*FR_Tcmd;
 //    RL_Tcmd = -1.0f*RL_Tcmd;
 //    RR_Tcmd = 1.0f*RR_Tcmd;
+
+//Add to force only one motor drive (DYNO)
+    FL_Tcmd = 0.0f*Trq_HMI;
+    FR_Tcmd = 0.0f*Trq_HMI;
+    RL_Tcmd = 0.1f*Trq_HMI;
+    RR_Tcmd = 0.0f*Trq_HMI;
+
 }
 
 void ASL(void)