Some math equations
For VECTOR
Motor current vs. iref
iref>=/driver/motor/currentd2+/driver/motor/currentq2
If driver mode = 2 (current) and cmd = 1, left and right side are equal
Motor voltage vs. uref:
uref>=/driver/motor/voltaged2+/driver/motor/voltageq2
If driver mode = 1 (voltage) and cmd = 1, left and right side are equal
ubat>=uref∗3
Ulink=/driver/motor/voltaged2+/driver/motor/voltageq2∗23
Ulink= Voltage measured by multimeter betveen 2 phases