I'm thinking about building a lidar based altimeter, something similar to this thing but integrated with HDX, ideally showing the AGL as a widget on screen.
The one solution that comes to mind would be to convert digital output of lidar sensor into analogue and connect it to EMS, calibrate that...