My question is, can PX4 currently support multiple rangefinder devices? We would like to be able to use something like a TeraRanger Evo for forward object avoidance, and a downward pointing Lidar Lite to help with precision landing. I couldn’t find anything in the documentation about doing this, although I did find this feature request from January Feature Request: Multi distance sensor support for collision avoidance · Issue #8767 · PX4/PX4-Autopilot · GitHub
I was able to get two rangefinders working by starting a driver for each rangefinder with a different rotation. I’m using lightware lidars over i2c. My forward lidar is on i2c address 102 (x66), and my forward lidar is on i2c address 103 (x67). I automated the process to be performed on launch by adding the following lines to the extras.txt file specified here.
lightware_laser_i2c start -X -a 102 -R 25
lightware_laser_i2c start -X -a 103 -R 0