inav
inav copied to clipboard
OSD Infocycle function
Adds a field to the OSD that is used to display selected OSD items on a rolling cycle whilst stopping the items from displaying in their normal positions, i.e. an OSD declutter function. The function can be suspended so selected items are displayed in their normal positions. This is achieved using the OSD mode switch. Selecting it for < 1s toggles the Infocycle function on or off. The OSD is turned off completely if the OSD mode switch is selected for > 1s.
Selected OSD Infocycle items are stored in the OSD layout configuration with new field added. Currently set up with a maximum Infocycle field length of 12 characters which covers most of the relevant items that can sensibly be to displayed in the field. Obviously needs some work with Configurator to allow relevant items to be selected and saved in the configuration.
Still not sure how useful this is but it seems to work OK so worth considering if you want to declutter the OSD at the flick of a switch without turning everything off entirely.

This sounds cool, especially for things that are very similar. For example pack voltage and cell voltage.
Can this be set up per OSD? For example on the default OSD, everything is static. On OSD Alt 1, the voltage cycles between pack and cell? I'm assuming the time for the change can be set too?
This sounds cool, especially for things that are very similar. For example pack voltage and cell voltage.
Can this be set up per OSD? For example on the default OSD, everything is static. On OSD Alt 1, the voltage cycles between pack and cell? I'm assuming the time for the change can be set too?
It's configured for each OSD layout, same as OSD items being visible or not for each layout. If the Infocycle field isn't visible or no OSD items are selected active for Infocycle then it's disabled on that layout. The cycle time is adjustable between 500 to 5000ms. The image above is 500ms (bit fast). 1 second is good.
I did this mainly because there are OSD items you want to check every now and again but you don't really want them there obscuring the view all the time, e.g. flight time, VTX power level, GPS info etc. This seems to be a way of achieving that.
Does also add the possibility of adding a general status message that could report in flight failures, e.g. GPS failure, You could have such a field now but you wouldn't want it permanently displayed when 99% of the time it just said "ALL GOOD". However, if it was displayed in the Infocycle field this wouldn't be such an issue. Having said that such a field could just be blank until there was something to report.
This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. This issue / pull request will be closed if no further activity occurs within two weeks.