Lidar-Based Altitude Hover in Mission Planning

Is it possible to do mission planning where the altitude is based on the range sensor? I get that there are two options for the altitude which is the absolute and relative. Can I set it to lidar based?

I have already connected my TF-Luna in the Serial 4/5 and I can see it’s data in the Mission Planning Status. The only thing left to do is hover my drone at an altitude based on the Range Sensor data

Update to ArduCopter 4.3.7 . The ArduCopter 4.0 version that you seam to be using is too old.

And change the ek3 height source parameter

Are you using Mission Planner for your mission planning? There’s a 3rd option, “Terrain” which will use the rangefinder during missions.