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

Dependencies:   mbed-dev-f303 FastPWM3

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

Revision:
51:6cd89bd6fcaa
Parent:
37:c0f352d6e8e3
Child:
52:8e74c22ed89f
Child:
55:c4c9fec8539c
--- a/Config/user_config.h	Thu Apr 04 13:53:58 2019 +0000
+++ b/Config/user_config.h	Wed Jul 17 03:40:12 2019 +0000
@@ -7,9 +7,10 @@
 #define E_OFFSET                __float_reg[0]                                  // Encoder electrical offset
 #define M_OFFSET                __float_reg[1]                                  // Encoder mechanical offset
 #define I_BW                    __float_reg[2]                                  // Current loop bandwidth
-#define TORQUE_LIMIT            __float_reg[3]                                  // Torque limit (current limit = torque_limit/(kt*gear ratio))
+#define I_MAX                   __float_reg[3]                                  // Torque limit (current limit = torque_limit/(kt*gear ratio))
 #define THETA_MIN               __float_reg[4]                                  // Minimum position setpoint
 #define THETA_MAX               __float_reg[5]                                  // Maximum position setpoint
+#define I_FW_MAX                __float_reg[6]                                  // Maximum field weakening current
 
 
 #define PHASE_ORDER             __int_reg[0]                                    // Phase swapping during calibration
@@ -20,6 +21,7 @@
 
 
 
+
 extern float __float_reg[];
 extern int __int_reg[];