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.
Diff: Config/current_controller_config.h
- Revision:
- 55:c4c9fec8539c
- Parent:
- 51:6cd89bd6fcaa
--- a/Config/current_controller_config.h Thu Aug 08 17:39:43 2019 +0000 +++ b/Config/current_controller_config.h Fri Oct 04 14:18:39 2019 +0000 @@ -5,8 +5,8 @@ #define K_D .05f // Loop gain, Volts/Amp #define K_Q .05f // Loop gain, Volts/Amp #define K_SCALE 0.0001f // K_loop/Loop BW (Hz) 0.0042 -#define KI_D 0.0255f // PI zero, in radians per sample -#define KI_Q 0.0255f // PI zero, in radians per sample +#define KI_D 0.0455f // PI zero, in radians per sample +#define KI_Q 0.0455f // PI zero, in radians per sample #define V_BUS 24.0f // Volts #define OVERMODULATION 1.15f // 1.0 = no overmodulation