Analyze Flight Log Errors
If the Parrot® minidrone stops unexpectedly before completion of the flight time, you can
download the flight log and analyze the errors. The errors that occurred during the
flight of the minidrone are captured in the flight log
(droneFlight.txt
).
Note
Some of the errors are also displayed in the Parrot Flight Control Interface (in the text box below the START button, after the drone has stopped).
The most common errors displayed in the flight log and troubleshooting steps are explained in the below table.
Errors Captured in the Flight Log and Troubleshooting Steps
Type of Error | Error Message in Flight Log | Reasons for the Error and Steps for Troubleshooting |
---|---|---|
High acceleration |
| This error occurs when high acceleration of the drone is detected during the flight. To troubleshoot the issue, perform any of the following:
|
Memory allocation error before take-off |
| This error occurs only if MAT file logging is enabled. MAT file logging tries to allocate memory on the Parrot minidrone. The amount of memory depends on the number of signals that are being logged and the simulation time. If the required memory is not available, a memory allocation error occurs. If MAT file logging is not required, disable the option MAT-file logging. If you require MAT file logging, perform any of the following:
|
Low battery voltage |
| This error occurs if a low battery voltage is identified before the take-off or during the flight. The minimum required percentages of battery voltage are 50% for the take-off and 30% during the flight. To troubleshoot the issue, ensure that the battery connected to the drone is fully charged before executing the start command from the Flight Control Interface. After the fully charged battery is reconnected, perform the tasks for connecting the Parrot minidrone to host computer over Bluetooth® (see Setup and Configuration). |
Optical flow and state estimate mismatch |
| This error occurs if there is a mismatch between the optical flow estimation and the state estimation of the Simulink model while the drone is flying. This
error occurs for the To troubleshoot the issue, redeploy the Simulink model and start the drone. |
Optical flow is not present (for the
ParrotMinidroneHover project and
ParrotMinidroneCompetition project) | rsedu_control(): Flight aborted due to error condition 69
! | This error occurs if the optical flow values are not available
for more than 50 cycles. This is configured in the To troubleshoot the issue, perform any of the following:
|
Optical flow is not present (for asbQuadcopter
project and any Simulink models created in R2018b or earlier releases) | rsedu_control(): Problem with optical flow, there has been
no flow for 50 cycles in cycle 723: shutting down motors
now | This error occurs if the optical flow values are not available for more than 50 cycles. To troubleshoot the issue, ensure that there is necessary illumination in the area where you are flying the drone, so that the image or video frame is properly captured for the optical flow. |
User-defined errors | rsedu_control(): Flight aborted due to error condition 5
! | This error occurs if you have modeled some error condition in
the Simulink template model. When the modeled error occurs, the
corresponding error is passed to the For example, in this error message, error condition 5 indicates that the error logic modeled by the user, corresponding to value 5, has occurred. To troubleshoot the issue, go to the Simulink model, look at the corresponding error condition, and perform the required actions to resolve the error. |
Altitude estimation errors | rsedu_control(): Flight aborted due to error condition 88
! | This error occurs when the ultrasound sensor gives improper
values while you are flying the drone using the To troubleshoot the issue, perform any of the following:
|
See Also
Setting Up the Hardware and Deploying the Model | Using the Flight Control Interface to Start the Drone