PyVESC
PyVESC copied to clipboard
how to DETECT_MOTOR_FLUX_LINKAGE
i use this code class DetectMotorFluxLinkage(metaclass=VESCMessage): """ Detects the motor flux linkage value. """ id = VedderCmd.COMM_DETECT_MOTOR_FLUX_LINKAGE
fields = [
('flux_linkage', 'i', 1000)# Adjust the scale as needed for the result
]
but it won't give the correct answer which was given in the vesctool but the same method is working for DETECT_MOTOR_R_L