Calcuation of UAVCAN esc_setpoint


#1

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?

Thanks!


(Pavel Kirienko) #2

I suppose you’re asking how the values for the field “cmd” are computed (github.com/UAVCAN/gui_tool/blob … #L142-L143