Should I set EK2_ALT_SOURCE to 1?

HI, all

I install LidarLite v3 on my hexa copter for rangefinder. if I want to enable LIdarLite in dronekit-python app in autonomous flight, should I set EK2_ALT_SOURCE to 1, because I find parameter set below, the value default is 0:

EK2_ALT_SOURCE: Primary altitude sensor source

0 Use Baro

1 Use Range Finder

2 Use GPS

3 Use Range Beacon

Tom

No, for what you want to do, you should leave the EK2_ALT_SOURCE to Baro.

Thanks a lot , got it

Tom