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: structs.h
- Revision:
- 48:74a40481740c
- Parent:
- 47:e1196a851f76
--- a/structs.h Wed Dec 05 04:07:46 2018 +0000
+++ b/structs.h Sun Mar 03 02:51:51 2019 +0000
@@ -29,7 +29,6 @@
float d_int, q_int; // Current error integrals
int adc1_offset, adc2_offset; // ADC offsets
float i_d_ref, i_q_ref, i_d_ref_filt, i_q_ref_filt; // Current references
- float did_dt, diq_dt; // Current reference derivatives
int loop_count; // Degubbing counter
int timeout; // Watchdog counter
int mode;
@@ -40,13 +39,8 @@
} ControllerStruct;
typedef struct{
- float h;
- float k;
- float phi;
- float cos_integral;
- float sin_integral;
- float afc_out;
- } AFCStruct;
-
-
+ double temperature; // Estimated temperature
+ double temperature2;
+ float resistance;
+ } ObserverStruct;
#endif