Hi all,

I'm setting up my PX4-based quad with ST VL53L0X Lidar sensors (I currently have three) and I noticed that line #24 of the current Rangefinder library (here: https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Ran...) has the maximum number of sensors set to 10 (ten). Am I understanding this correctly? And has anyone ever tried to setup this many rangefinders (or anything close) with any measure of success?

Any input/advice will be greatly appreciated.

Views: 49

Replies to This Discussion

It's been a while since I've been working on Object Avoidance with ArduCopter. I only worked with TeraRanger Tower (https://github.com/ArduPilot/ardupilot/blob/fb544cab78efe05e74b368c...).

Looking at the update_sector_data function you can see that the angle is specified, since the same fields can be defined in your sensor setup (as far as I remember) then your setup could work. If not you should be able to patch it or in worst case create a driver similar to the TeraRanger one.

Another thing to note is the potential cross-talk between sensors, try to check it as early as possible to avoid being disappointed!

RSS

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service