AIDroneSim

AIDroneSim

Not enough ratings
How To BlackBox
By diophante.studio
The complete guide to BlackBox extraction in AI Drone Simulator
   
Award
Favorite
Favorited
Unfavorite
Before Flight
BetaFlight Settings

Accelerometer : ON

Calibrate acceleration if needed. Put the quad on a flat surface and launch the calibration.

Set logging frequency to 500Hz




Erase the memory
  • Erase memory. You could do it either from Betaflight configurator or from Betaflight OSD
  • When memory is full, new flight won't be recorded.
In Flight
One Lipo, One flight, One BlackBox log.
The best for now is to make only one flight per lipo. This means not arming/disarming multiple times.
Connect the lipo, arm, flight, land, disarm, disconnect the lipo

Quality Data : Push the quad to the limits
Even Machine Learning can't know the motors thrust at 100% if they stay at 25% all flight long. The general idea to get quality data is thus to do every move, every trick, border every limit. Particularly useful are :

  • No Crash, little or no wind.
  • Full throttle pushs
  • Hang time. (0 throttle). The best is to do this with differents attitudes (front/side/top first)
  • Cruising at different speeds.
  • A bit of hoover.
  • Flips and spins. Don't forget Yaw Spins !
After Flight
Get the BlackBox files
  • Activate Mass Storage in Betaflight Configurator
  • A new volume appears on your PC, with the logs in the order of the flights.
  • Copy these log files to somewhere on your PC.

Use the good one.
One should use a btfl_001.bbl (or btfl_002.bbl, etc) file, but not the btfl_all.bbl file :

How to check if a flight seems good from the BlackBox File ?
Use Betaflight BlackBox Explorer to check if your flight seems good :
Extract The BlackBox
  • In the Select Model screen, put a model name, select your file, and launch the extraction process. The extraction process is a background task and will not freeze the game.
  • The extraction process should take about 5 minutes, maybe 10 on weak CPUs. If it takes way longer for you, it's probably because the blackbox file contains multiple flights or higher than 500 Hz frequency. For now, neither multiple flights or higher frequencies are useful, you will only wait longer !
  • If you wait in the Main Menu, the newly created model will be selected as the active selected model once the extraction is done.
  • If you don't like to wait, you can fly your actual selected model during this time. Then when the extraction is done, you can go back to the Main Menu and select your newly created model in the "Select Model" screen.
Fly it !
  • If the new model flies good, it's all good and you can fine-tune it if desired.
  • If it flies crap, don't even bother tuning it, you should discard it and try from another log.

8 Comments
diophante.studio  [author] 6 Jul, 2022 @ 12:50am 
@ZAC :
Indeed most of the time default bbox works if we take the good file =)
Any rate > 500 Hz should be fine, but it will be slower to extract, that's all there is to it.
ZAC_DESTROYS_ALL 4 Jul, 2022 @ 4:38pm 
I just saw this now my black box logging is at 2k and I didn't do any of this lol. However I find it still flies really similar to my set up. Maybe one day I'll try it this way.
Skyhawk613 30 Oct, 2021 @ 7:56am 
Many thanks diophante.studio
diophante.studio  [author] 30 Oct, 2021 @ 7:47am 
Hi alan,
you can change the model to get a less floaty one (main menu -> select model ), or even add some gravity (main menu -> model settings )
Skyhawk613 29 Oct, 2021 @ 1:50pm 
Hello there I'm a noob to this sim, I setup the controller but flying around feels very floaty and not realistic at all, any advise please anyone?
Binladen 30 Jun, 2021 @ 6:04pm 
gppz
diophante.studio  [author] 11 Jun, 2021 @ 8:48am 
MrAlucardDante > Oui !
Ce qu'il faut pour le simu, c'est l'enregistrement de l'accélération, qui n'est possible que si l'accéléromètre est activé dans Bétaflight.
MrAlucardDante 11 Jun, 2021 @ 7:59am 
Ce que vous appeler acceleration est en fait l'acceleromètre