-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add odometer to OSD #9335
Add odometer to OSD #9335
Conversation
First cut
- Converted Maths.h to tabs - Added leading zeros to odometer and decimal place
Updated for new osdFormatCentiNumber declaration.
@MrD-RC @breadoven This causes grief with multirotor inflight emergency rearming. #9254 Someone else has reported this matter. Now it has come to a head, with bad results. @Jetrell I guess you never discovered this problem when testing. Maybe because you've never used the stats again. Wise move!! @DzikuVx If this matter can not be resolved before the 7.0.0 release. May I ask that the release notes make mention of it ? |
@rts18 this should really be it’s own issue for visibility. |
I haven't used Stats on any of my models since I wrote that post... I'd actually forgotten about it when I was testing inflight rearming.. But I wouldn't have enable it, to prove what I already knew. I'm sorry if it caused a crash.. Sometimes things slip through the cracks. |
@rts18 what do you mean by grief where emergency in flight rearming is concerned, other than the fact it obviously won't work if the FC reboots ? |
I was hoping to get some clarity here first. Of why this matter seemed to have been over looked.
Fair enough.
It wasn't caused by the inflight rearming software. And it wasn't the flight controller that rebooted after disarming. It was the 4 ESCs. For what its worth. I did test the inflight rearming on this quad before I stupidly trusted turning on the stats. And it worked with no hitches. |
Fixes #8980
Adds the ability to show the total flight distance odometer in the OSD. This needs stats enabled to work.
Odometer shown lower left of OSD.
Requires configurator: iNavFlight/inav-configurator#1836