AT209 Lab 2: DJI Parameters, ATTI Mode Flight
Lab 2: DJI Parameters, ATTI Mode Flight
To edit the parameters of a DJI Mavic 2 Prom from a Windows PC, the first step is to download the DJI Assistant App onto your computer. You then want to locate the file named "main" in the DJI Assistant download by going from:
"This PC > OS (C:) > Program Files (x86) > DJI Product > DJI Assistant > AppFiles > Main"
Then you must open the JavaScript in a separate application, my choice was Notepad++. Open Notepad++, hit file > open > and find the file "main" that was just located. Once this code is opened, locate the line that says "// Open the DevTools." Delete the two "//" from the line below it. It should look like this:
You then want to open up the DJI Assistant Application, find the resources tab > local storage > file:// > debug, and double click on the number zero and change the value to "1".
You can then plug the drone into your computer and click on the "DJI Mavic Pro" button. You can close out of the debug window by hitting the x and then hitting "ignore" on the popup. You can then scroll down on the menu on the left-hand side of the window and pick "parameters". In the "filter" search box, type in "fswitch", find the first result that has a value of 12 and change the value to 3.
This changes the "tripod" mode on the controller to be "attitude mode" instead. So now with the drone we can manually put the drone in ATTI mode.
Flying the drone in ATTI mode proved to be a different kind of flying, and made it more difficult to precisely control the drone. When there was no input on the controller the drone would hold a flat and level attitude instead of holding its GPS position, which meant it would be affected by the wind. Thus, whenever the controller was let go of, the drone would start drifting with the wind. This meant we needed to have more manual wind correction for the drone, which is not too difficult in and of itself, but if we were to try and do multiple tasks at once with the drone in ATTI mode things would begin to get difficult.
Comments
Post a Comment