Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: CANnucleo FastPWM3 mbed
Fork of Hobbyking_Cheetah_Compact by
current_controller_config.h
00001 #ifndef CURRENT_CONTROLLER_CONFIG_H 00002 #define CURRENT_CONTROLLER_CONFIG_H 00003 00004 #define K_D .5f //V/A 00005 #define K_Q .5f //V/A 00006 #define KI_D 0.04f //1/samples 00007 #define KI_Q 0.04f //1/samples 00008 #define V_BUS 24.0f 00009 00010 #define D_INT_LIM V_BUS/(K_D*KI_D) //A*samples 00011 #define Q_INT_LIM V_BUS/(K_Q*KI_Q) //A*samples 00012 00013 00014 00015 #endif
Generated on Tue Aug 2 2022 05:17:53 by
