|
|
@@ -131,6 +131,8 @@ static u32 _app_report_task(void *p) {
|
|
|
sys_debug("acc vol %d\n", get_acc_vol());
|
|
|
sys_debug("throttle %f\n", get_throttle_float());
|
|
|
sys_debug("ADC Vref %f, %f\n", get_adc_vref(), adc_5vref_compesion());
|
|
|
+ sys_debug("Vdq in %f, %f\n", PMSM_FOC_Get()->in.s_targetVdq.d, PMSM_FOC_Get()->in.s_targetVdq.q);
|
|
|
+ sys_debug("VDQ out %f, %f\n", PMSM_FOC_Get()->out.s_OutVdq.d, PMSM_FOC_Get()->out.s_OutVdq.q);
|
|
|
//sys_debug("target current %f\n", PMSM_FOC_Get()->in.s_targetCurrent);
|
|
|
//thro_torque_log();
|
|
|
//sys_debug("fan rpm %d, %d\n", mc_params()->fan[0].rpm, mc_params()->fan[1].rpm);
|