← All tools

Message & Error Explainer

What an ArduPilot message means and what to do about it

Українська

The store of obstacles for path planning was not set up

WarningRangefinder, optical flow, camera, OSD and other devicesCopter only

What ArduPilot says:

With path planning on (OA_TYPE is not 0) ArduPilot keeps a small store of obstacles seen by proximity sensors: OA_DB_SIZE places (100 by default), fed through a queue of OA_DB_QUEUE_SIZE (80 by default). At start-up the store could not be set up, and the line gives the two sizes as they are set. Path planning then knows nothing of what the sensors see; it still plans around fences.

What to do, most likely first

  1. OA_DB_SIZE or OA_DB_QUEUE_SIZE is 0, which switches the store off.

    CheckOne of the two sizes in the message is 0.

    FixIf the copter has a proximity sensor to avoid obstacles with, set OA_DB_SIZE to 100 and OA_DB_QUEUE_SIZE to 80 and reboot. With no such sensor the line is harmless.

  2. Both sizes are above 0, and the board had no memory for them.

    FixLower OA_DB_SIZE, or free memory by switching off features you do not use, and reboot.

Parameters to look at

ParameterWhat it is
OA_DB_SIZEOADatabase maximum number of points
OA_DB_QUEUE_SIZEOADatabase queue maximum number of points
OA_TYPEObject Avoidance Path Planning algorithm to use
The code that sends it

DB init failed . Sizes queue:N, db:N

libraries/AC_Avoidance/AP_OADatabase.cpp AP_OADatabase::init() · Open in ArduPilot Copter-4.7.1

Written here for Copter 4.6. In the tool you choose your vehicle and version, see your own parameter values beside the ones named here, and drop a flight log to have every message in it explained.

Open it in the Message & Error Explainer