X-Git-Url: https://rtime.felk.cvut.cz/gitweb/fpga/rpi-motor-control.git/blobdiff_plain/85772a932e99215c8c86d92feb203ee928df0e5f..e5be33166fa28644d8931ab754db8a7c99204364:/pmsm-control/test_sw/pmsm_state.h diff --git a/pmsm-control/test_sw/pmsm_state.h b/pmsm-control/test_sw/pmsm_state.h index 3cd648f..32c8d74 100644 --- a/pmsm-control/test_sw/pmsm_state.h +++ b/pmsm-control/test_sw/pmsm_state.h @@ -31,6 +31,8 @@ struct rpi_state{ char commutate; /* zapina prepocet duty na jednotlive pwm */ char pos_reg_ena; /* position regulation enable */ char spd_reg_ena; /* speed rugulation enable */ + + int spd_err_sum; /* for speed pid regulator */ }; #endif /*PMSM_STATE*/