Obstacle Avoidance using multiple LiDAR and SONAR

Wanted to use 1 x RPlidar a1 and 2 x TFmini plus, for omni-directional obstacle avoidance. Please guide.

How to identify lidars uniquely using I2C and use for obstacle avoidance?


Can you verify this method?

On the old Pixhawk, 4 and 5 shared a port. They do not on the Cube.
But the setup instructions are the same, yes

So I hook up tfmini plus to TELEM 2 and assign Serial 2 as rangefinder and hook up rplidar a1 to GPS 2 and assign serial 4 as lidar360?

1 Like