o-gs / dji-firmware-tools

Tools for handling firmwares of DJI products, with focus on quadcopters.
GNU General Public License v3.0
1.45k stars 405 forks source link

DJI Mavic Air 2 Gimbal Calibration #254

Open Ianf223 opened 2 years ago

Ianf223 commented 2 years ago

After replacing the Air 2 gimbal i followed instructions on calibrating it from (https://www.youtube.com/watch?v=6MMpbMhy20Y), everything went right up until i entered 'py comm_og_service_tool.py COMPORT MODEL GimbalCalib JointCoarse' it gave me the error 'usage: comm_og_service_tool.py [-h] (--port PORT | --bulk) [-b BAUDRATE] [-w TIMEOUT] [--dry-test] [-v] [--version] product command ... comm_og_service_tool.py: error: argument product: invalid choice: 'COM3' (choose from 'A2', 'P330', 'P330V', 'P330Z', 'P330VP', 'WM610', 'P3X', 'P3S', 'MAT100', 'P3C', 'MG1', 'WM325', 'WM330', 'MAT600', 'WM220', 'WM620', 'WM331', 'MAT200', 'MG1S', 'WM332', 'WM100', 'WM230', 'WM335', 'WM240', 'WM245', 'WM246', 'WM160', 'WM231', 'WM232', 'WM260')' I've tried different computers, cables and it doesn't seem to calibrate, I was able to find the com port so that's why I'm confused, If anyone can help it will be greatly apricated.

mefistotelis commented 2 years ago

Have you tried reading with understanding?

linoko commented 2 years ago

After replacing the Air 2 gimbal i followed instructions on calibrating it from (https://www.youtube.com/watch?v=6MMpbMhy20Y), everything went right up until i entered 'py comm_og_service_tool.py COMPORT MODEL GimbalCalib JointCoarse' it gave me the error 'usage: comm_og_service_tool.py [-h] (--port PORT | --bulk) [-b BAUDRATE] [-w TIMEOUT] [--dry-test] [-v] [--version] product command ... comm_og_service_tool.py: error: argument product: invalid choice: 'COM3' (choose from 'A2', 'P330', 'P330V', 'P330Z', 'P330VP', 'WM610', 'P3X', 'P3S', 'MAT100', 'P3C', 'MG1', 'WM325', 'WM330', 'MAT600', 'WM220', 'WM620', 'WM331', 'MAT200', 'MG1S', 'WM332', 'WM100', 'WM230', 'WM335', 'WM240', 'WM245', 'WM246', 'WM160', 'WM231', 'WM232', 'WM260')' I've tried different computers, cables and it doesn't seem to calibrate, I was able to find the com port so that's why I'm confused, If anyone can help it will be greatly apricated.

use like this: comm_og_service_tool.py --port COM4 -vv WM241 GimbalCalib LinearHall comm_og_service_tool.py --port COM4 -vv WM241 GimbalCalib LinearCoarse

Important is to find correct com port in my case its com4. You may easy find it if first start dji Assistant 2 (Consumer drones) than plug drone and in device manager will see com port which number is accociated. then open command prompt and prepare to write text above, but before you start must close DJI assistant.

You must know that after calibration will apper "Gimbal calibration error 40011" , but gimbal will be leveled , just this warning will be appear permanently.

IF you have difficulties contact me i may connect to your pc via teamviewer and do it together.

Ianf223 commented 2 years ago

@linoko THANK YOU SM everything works now but I know about the codes still being in the app but again thank you again!

linoko commented 2 years ago

@linoko THANK YOU SM everything works now but I know about the codes still being in the app but again thank you again!

They will be apper, still no free cure for them

aanestaa commented 1 year ago

@linoko hi can you help me with mavic 3 pro calibration?