Calcuation of UAVCAN esc_setpoint


Hi Pavel,

Can you tell me how esc_setpoint is calculated?
It looks like a percentage.
Is it just esc_setpoint_raw divided by some maximum value?
What is the maximum value? Is it a constant?


(Pavel Kirienko) #2

I suppose you’re asking how the values for the field “cmd” are computed ( … #L142-L143