At present when we perform data logging, we export all these values:
mtr[0].Conv.Vbus , "vbus"
mtr[0].FOC.eHz , "ehz"
mtr[0].Conv.MOSu_T , "TMOS"
mtr[0].Conv.Motor_T , "TMOT"
mtr[0].FOC.Idq_req.q , "iqreq"
mtr[0].FOC.Idq_smoothed.d , "id"
mtr[0].FOC.Idq_smoothed.q , "iq"
mtr[0].Raw.ADC_in_ext1 , "adc1"
MESC_errors , "error"
mtr[0].FOC.Vdq.q , "Vq"
mtr[0].FOC.Vdq.d , "Vd"
I believe only 1-5 are available through CAN, could you send the additional variables? An slight alternative is to basically send the same content as what is transferred with "status json".
Please consider creation of CAN commands to:
reset MESC_errors to zero without power-cycling the board
control the kill switch function (possibly independent of the kill switch tied to hardware).
See: https://github.com/davidmolony/MESC_Firmware/blob/FW_ADC_sampling/MESC_RTOS/MESC/MESCinterface.c
starting around line 493
At present when we perform data logging, we export all these values:
I believe only 1-5 are available through CAN, could you send the additional variables? An slight alternative is to basically send the same content as what is transferred with "status json".
Please consider creation of CAN commands to: