Customize the radio on-screen display for distance sensor and other parameters

Hey,

I am trying to get the distance sensor reading to be displayed on the screen on my radio. For this I am trying to modify the ./src/drivers/osd in source code. I replicated all the modules and functions for distance_sensor topic similar to the ones in the code but no luck.
Anyone knows how to do this or is there a detailed documentation on this that i can follow?

Version 1.15.0dev.
Cube orange FC
QGC
Radio: MK15 SIYI
Distance sensor: Ainstein Radar