Mini Cheetah Actuator Branch Superseded by: https://github.com/bgkatz/motorcontrol

Dependencies:   mbed-dev-f303 FastPWM3

Superseded by: https://github.com/bgkatz/motorcontrol

Revision:
55:c4c9fec8539c
Parent:
48:74a40481740c
--- a/Config/hw_config.h	Thu Aug 08 17:39:43 2019 +0000
+++ b/Config/hw_config.h	Fri Oct 04 14:18:39 2019 +0000
@@ -11,8 +11,8 @@
 #define DTC_MAX 0.94f          // Max phase duty cycle
 #define DTC_MIN 0.0f          // Min phase duty cycle
 #define PWM_ARR 0x8CA           /// timer autoreload value
+#define DTC_COMP .000f          /// deadtime compensation (100 ns / 25 us)
 
-static float inverter_tab[16] = {2.5f, 2.4f, 2.3f, 2.2f, 2.1f, 2.0f, 1.9f, 1.8f, 1.7f, 1.6f, 1.59f, 1.58f, 1.57f, 1.56f, 1.55f, 1.5f};
 
 
 #endif