When testing Collision Prevention mode on a drone using PX4 and QGroundControl, you encounter the following error upon startup or takeoff:
WARN [health_and_arming_checks] Preflight Fail: Avoidance system not ready
and i check log output lidar in Qgroundcontrol has some problem:
pxh> listener obstacle_distance
TOPIC: obstacle_distance
obstacle_distance
timestamp: 30188000 (0.032000 seconds ago)
increment: 5.00000
angle_offset: -135.00003
distances: [612, 568, 534, 508, 487, 472, 461, 454, 450, 450, 453, 460, 471, 664, 952, 817, 721, 649, 594, 552, 519, 494, 474, 459, 448, 441, 438, 438, 441, 448, 459, 474, 494, 519, 552, 594, 649, 721, 817, 952, 1086, 3001, 3001, 3001, 3001, 3001, 3001, 3001, 3001, 3001, 3001, 3001, 3001, 3001, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535]
min_distance: 10
max_distance: 3000
frame: 12
sensor_type: 0
why have 65535 value and 3001 value in while max value is 3000. i think value 65535 is out of range lidar and other value in range lidar with 3001 value is no obstacle, i think this is make error
this is my config in qgroundcontrol
Thanks for read and help me!!!