This application discloses a method, apparatus, electronic device, and storage medium for determining
angular displacement. Specifically, it includes: acquiring two
voltage signals output by an angle meter mounted on a target object, and using them as a first
signal and a second
signal, respectively; wherein the first
signal is output before the second signal; comparing a second
voltage value corresponding to the second signal with a preset
voltage threshold value; and determining the
angular displacement occurring during the movement of the target
object based on at least one of the comparison result, the second voltage value, the first voltage value corresponding to the first signal, and the calibration state of the angle meter. By distinguishing between high and
low voltage outputs of the two voltage signals, the
angular displacement of the
loader's working device under different conditions is calculated separately, effectively improving calculation accuracy, obtaining continuous angular displacement calculation values, and avoiding step phenomena in the calculated angular displacement value at
signal transition points caused by signal errors, which could affect measurement accuracy or even lead to control errors of the working device.