Change virtual current meter to use setpoint rather than rcCommand throttle
commitbe799137262a908fd0f14017cbaf2e48af55e1d1
authorBruce Luckcuck <github@etracer.net>
Fri, 8 Nov 2019 21:16:16 +0000 (8 16:16 -0500)
committerBruce Luckcuck <github@etracer.net>
Fri, 8 Nov 2019 21:16:16 +0000 (8 16:16 -0500)
treea5ddf2a14494a9fdf1598bc4615155ad494e06e1
parentc77c593a14699fb7dd38497983fc763a6ab6c39d
Change virtual current meter to use setpoint rather than rcCommand throttle
Use the final calculated throttle value that may be affected by throttle limiting, throttle boost, etc. instead of the rcCommand input when calculating the virtual current meter.
src/main/blackbox/blackbox.c
src/main/flight/mixer.c
src/main/flight/mixer.h
src/main/sensors/battery.c