72e6b30033
► the mainboard can now send and receive Serial data from the sideboards ► heavy refactored the `main.c`. It was becoming too large to manage... Therefore, `util.c` and `util.h` was created ► added new functionality for `VARIANT_HOVERCAR` and variants with `CONTROL_ADC` in general: - ADC limits auto-calibration mode (long press of the power button) - calibration will not be lost at power-off - Max Current and Max Speed adjustment mode (long press followed by a short press of the power button) - calibration will not be lost at power-off - added one sideboard functionality: - LEDs are used to display battery level, Motor Enable, Errors, Reverse driving, Braking. - Photo sensors are used as push buttons: One for changing Control Mode, One for Activating/Deactivating the Field Weakening on the fly |
||
---|---|---|
.. | ||
Filter_fixdt/filtLowPass_ert_rtw_sFix32En16 | ||
Mixer_fixdt | ||
Motor_Control_Model_Package | ||
RateLimiter_fixdt | ||
BLDC_controller_Lib_AccelerationBased.slx | ||
BLDC_controller_Lib_CounterBased.slx | ||
BLDCmotorControl_FOC_R2017b.slx | ||
BLDCmotorControl_FOC_R2017b_fixdt_Ffwd.slx | ||
BLDCmotorControl_FOC_R2017b_fixdt_speedDeriv.slx | ||
init_model_Ffwd.m | ||
pe_electric_engine_dyno.slx | ||
pe_electric_engine_dyno_data.m |