![](/media/cache/profiles/altb_JGUSAOG.jpg.50x50_q85.jpg)
corrections altb2
Lib_Misc/data_structs.h@3:8aa09988fa58, 2021-08-24 (annotated)
- Committer:
- altb2
- Date:
- Tue Aug 24 12:34:00 2021 +0000
- Revision:
- 3:8aa09988fa58
- Parent:
- 0:d2e117716219
corrected memory allocation in class
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
altb2 | 0:d2e117716219 | 1 | #ifndef DATA_STRUCTS_H_ |
altb2 | 0:d2e117716219 | 2 | #define DATA_STRUCTS_H_ |
altb2 | 0:d2e117716219 | 3 | |
altb2 | 0:d2e117716219 | 4 | |
altb2 | 0:d2e117716219 | 5 | typedef struct{ |
altb2 | 0:d2e117716219 | 6 | float sens_phi[2]; |
altb2 | 0:d2e117716219 | 7 | float est_xy[2]; |
altb2 | 0:d2e117716219 | 8 | float sens_Vphi[2]; |
altb2 | 0:d2e117716219 | 9 | float cntrl_phi_des[2]; |
altb2 | 0:d2e117716219 | 10 | float cntrl_xy_des[2]; |
altb2 | 0:d2e117716219 | 11 | float i_des[2]; // desired currents |
altb2 | 0:d2e117716219 | 12 | float wMot[4]; // desired speeds (rad/s) |
altb2 | 0:d2e117716219 | 13 | bool laser_on; |
altb2 | 0:d2e117716219 | 14 | uint8_t num_it; |
altb2 | 0:d2e117716219 | 15 | }DATA_Xchange; |
altb2 | 0:d2e117716219 | 16 | #endif |
altb2 | 0:d2e117716219 | 17 |