-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(P4S/P4P/P4A) #99
Comments
The method for calibrating each model is probably different. I don't know how to do this exactly, that would require some research. I'm not sure if I'll be looking into that. Spark has a pre-made auto calibration function which is easy to trigger. Previous platforms seem to have less automated solution, but I never looked at details. |
And how much would you charge to make a script for calibration of Gimbal's Phantom 4 series, Phantom 3 and perhaps inspire? I pay you to do that, I don't want it for free! |
We would have to go with one platform at a time. About paying for the task - I'm not sure if I want to go this way; the time I can spend on this is limited. But I do accept donations. Sign to Slack - we may talk further there; see Slack link in top menu here: I will try to find time for some initial research on the subject. |
The site to be faced with stability issues. I can not access the same! Could you pass your email or WhatsApp? I will help in what possible (testing with drones). About the donations, I will donate yes. |
The "hardware" channel on Slack is the place where many people discuss mods and repairs for DJI products. But if you can't access it - we can talk here. I don't use any other messaging apps. |
I'm trying to access it, but I can't. What do you need to give the tip foot in the software for calibration? I have all the drones here to test.... |
First I will look at gimbal module (m0400) for various platforms. I have the ones for Ph3, Ph4 and Inspire, but I don't think I have one for Ph2 Vision - and it could be helpful. I will be searching for m0400 modules which are larger in size - this may indicate a version with more debugging messages left in the code. I need to get a basic understanding of how the firmware works, then I'll get to figuring out the packets which can be sent to it. |
I have a great friend who also program in Python, if you need any other help, I can talk to him... I can help with the tests, since I have no advanced knowledge of software. |
It will take some time before I have anything to test. I still need to finish current tasks. Anyway, at some point I'll want you to run comm_serialtalk.py - so you may want to prepare for it, to the point where the example instruction from README works. And you can try searching Ph2 firmwares for me. |
Here on the website of DJI has some firmware of the Phantom 2 Plus which is the latest version of PH2 |
Here are ALL packets on which Phantom 3 Gimbal reacts. The table comes from version P3X_FW_V01.11.0030_m0400:
Now we can test what each of these does and find out which is used to calibration or position setting. |
Disclamer: This can damage the gimbal. I don't know what it does. I will just provide packets which look like they might trigger calibration or control the yaw arm. Now, first check if taking to gimbal even works (this command is safe):
If it does (versions are shown in response), then we can get to business. I will provide proper commands as soon as I finish figuring them out. The idea I have is to enter work mode 5 - it looks like a different version of auto-calibration routine (which is work mode 3). |
Hey, buddy. How you doing, huh? Very good! I will test this command on some Phantom 3 |
Please do. My idea of switching to work mode 5 is not as easy as I anticipated - all packets which allow to control work mode are masking it to 2 bits (allowing only modes 0..3). I am searching for alternatives. Also, I don't have any firmware from Ph2 - that would require quite some work to get, as the FW is downloadable through Ph2 Assistant. So I think I'll skip it. |
Update: |
Tell me, my friend, how was your year-end? I wish you much health, peace and a lot of money that year. I arrived on a trip today, I was at the relatives ' house. I'm going to test the Phantom 3 code tomorrow, and I'll give you a return. |
Hi, how are you? I went to work. I'm going to take the test this week on a Phantom 3 Pro. It would be interesting if I had any other way to talk to you, I have a good proposition for this project. |
You can write me an e-mail. I am still working on pre-Ph3 firmwares; have limited time for that, so it takes quite long. |
can be contacted via viber or whatsApp or messenger. +79219329356
https://www.facebook.com/profile.php?id=100011587383998
cimona84@list.ru
…Пятница, 25 января 2019, 8:39 +03:00 от jebtir ***@***.***>:
Hi, how are you? I went to work. I'm going to take the test this week on a Phantom 3 Pro. It would be interesting if I had any other way to talk to you, I have a good proposition for this project.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub , or mute the thread .
--
Сергей Медведев
|
Hey, did you abandon the "project? " |
I am not working on it now. May be back when I have more time. |
Hi, did anyone found a solution? I replaced my YAW motor ad now I need to calibrate the motor. |
Yes, the complete solution is here. You just have to run one simple python
program in root unit of Mavic air drone. You can find one video over
YouTube
…On Sat, 21 Sep 2019 at 1:39 PM, Fabian ***@***.***> wrote:
Hi, did anyone found a solution? I replaced my YAW motor ad now I need to
calibrate the motor.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#99?email_source=notifications&email_token=AMPTHPDVHJWLJDWMQ57JQRLQKXJDFA5CNFSM4GJWBC7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7INACY#issuecomment-533778443>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMPTHPGHLGT6FYP2ZZDBDHLQKXJDFANCNFSM4GJWBC7A>
.
|
Thanks for your quick answere. |
PS: Can you link me the video pls. Many wrong videos there... |
Here is my response:
|
Yes correct this is the video, just follow the steps in the video
carefully. This will work for Mavic air too. This works for me when I
installed new gimbal
…On Sat, 21 Sep 2019 at 3:57 PM, Fabian ***@***.***> wrote:
Disclamer: This can damage the gimbal. I don't know what it does. I will
just provide packets which look like they might trigger calibration or
control the yaw arm.
Now, first check if taking to gimbal even works (this command is safe):
./comm_serialtalk.py COM5 -vv --receiver_type=Gimbal --seq_num=12341 --ack_type=ACK_After_Exec --cmd_set=General --cmd_id=1
If it does (versions are shown in response), then we can get to business.
I will provide proper commands as soon as I finish figuring them out. The
idea I have is to enter work mode 5 - it looks like a different version of
auto-calibration routine (which is work mode 3).
Here is my response:
Prepared binary packet:
55 0d 04 33 0a 04 35 30 40 00 01 91 94
Sending packet...
Waiting for reply...
Retrieved 16 packets (886b), dropped 0 fragments (0b)
Received response packet:
55 2c 04 36 04 0a 35 30 80 00 01 00 01 6e 6f 6e 65 00 b3 09 f2 36 35 00 55 66 3f 00 00 00 00 0c 01 11 0d 32 01 01 00 00 00 01 96 98
Parsed response - DJIPayload_General_VersionInquiryRe:
unknown0: 0
unknown1: 1
hw_version: b'none'
ldr_version: 17563648
app_version: 20057361
unknown1A: 1
unknown1E: 1
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#99?email_source=notifications&email_token=AMPTHPBQPJ5YH6IWN4OU2YLQKXZHJA5CNFSM4GJWBC7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IPA4A#issuecomment-533786736>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMPTHPEL2YB5NBA2MYUWNZTQKXZHJANCNFSM4GJWBC7A>
.
|
Yeah this works for Spark and Mavic Air.. but not for Phantom 4. I used following trick now: |
You have replaced the complete motor or only winding part??
…On Sat, 21 Sep 2019 at 5:51 PM, Fabian ***@***.***> wrote:
Yeah this works for Spark and Mavic Air.. but not for Phantom 4.
The topic ist "Calibration Gimbal Phantom 4 Series". Thats why I ask for
the PH4PRO ;-).
I used following trick now:
https://youtu.be/uWCm0QlHTTM
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#99?email_source=notifications&email_token=AMPTHPFPEIPCQN43VJBWA33QKYGTDA5CNFSM4GJWBC7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IQX5Y#issuecomment-533793783>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMPTHPC4SF5NIAMLQGAWI3DQKYGTDANCNFSM4GJWBC7A>
.
|
Only the winding part. The cable was demaged. Now it's running fine and well centered. |
Okay, let me know any help you need
…On Sat, 21 Sep 2019 at 6:16 PM, Fabian ***@***.***> wrote:
Only the winding part. The cable was demaged. Now it's running fine and
well centered.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#99?email_source=notifications&email_token=AMPTHPF2ERULFDQ2NJEOCHLQKYJT5A5CNFSM4GJWBC7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IREXI#issuecomment-533795421>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMPTHPAIRR5KXPFJFMXZCRDQKYJT5ANCNFSM4GJWBC7A>
.
|
Ok thank you. Have a nice weekend. |
Well well.... Although calibration kept starting but timing out on my Spark, regardless of the combinations of components I tried it with, including original gimbal/cam, different ribbon cable, brand new gimbal motor, brand new gimbal/cam; as soon as I got a replacement board, it worked like a charm. Looks like gremlins were out to get me and my 90 bucks :-). At least all's well with the world in the end. |
Yeah the motor drivers are placed on the core board. Very bad solution... The same situation like the mavic air. |
Keep the original magnet over the winding when replace the motor. Also it
Depends upon quality of winding whether the motor will work or not in case
of phantom 4 pro
…On Sat, 21 Sep 2019 at 6:44 PM, Fabian ***@***.***> wrote:
Yeah the motor drivers are placed on the core board. Very bad solution...
The same situation like the mavic air.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#99?email_source=notifications&email_token=AMPTHPDF4Z6STS66YNZNQJDQKYMZRA5CNFSM4GJWBC7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IRSFQ#issuecomment-533797142>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMPTHPDEF32QJJK3XH4PHW3QKYMZRANCNFSM4GJWBC7A>
.
|
Hello, there is a solution for this problem? |
Sorry for the late reply, I was busy in some work.
Make sure the original magnet of yaw motor is fine. And replace the motor
winding by new one. After installation of new winding part of yaw motor,
make sure every part is fit correctly. When you start your p4 pro the
gimbal/camera may be not in center.
Don’t worry, That will be in center you just have to do several
calibration— gimbal calibration in several position.
Thanks
…On Sat, 15 Feb 2020 at 10:18 PM, vserena82 ***@***.***> wrote:
Hello, there is a solution for this problem?
I need to calibrate gimbal in P4Pro, I replaced yaw motor? On crash magnet
of old yaw motor has broken so I can't use it with new winding part.
There is a way to calibrate gimbal or change its default parameteres
(angles)? after replacing motors?
Thank you
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#99?email_source=notifications&email_token=AMPTHPHY7AHS22D6NOD7WT3RDAMGPA5CNFSM4GJWBC7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3RPIQ#issuecomment-586618786>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMPTHPGGWBCLTLS57UFM44TRDAMGPANCNFSM4GJWBC7A>
.
|
Thank you for your answer but I cant swap magnet: winding bumped into magnet ring and magnet has been broken, so I cant use it. If there are no solutions I have to buy others yaw motors and hope the will be in correct position... Thank you |
Any issues you are facing?
…On Fri 27 Mar, 2020, 11:11 AM joww1, ***@***.***> wrote:
Reopened #99 <#99>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#99 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMPTHPHYVMP7IKJZ5YKMB6DRJQ4A7ANCNFSM4GJWBC7A>
.
|
Hello |
Sorry for delayed in response, due to pandemic My work is paused for a
while.
Can you elaborate what issues you are facing?
…On Thu, 21 May 2020 at 9:46 PM, sh88hoseini ***@***.***> wrote:
Hello
I also encountered this problem, but I can't open this help link.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#99 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMPTHPEYH5KCGN5GDUAAWRLRSVHVZANCNFSM4GJWBC7A>
.
|
Hi does anyone here able to write a simple program to calibrate after replacing esc or motors each or any of the dji range ?? Donations for programs on their way if you can help . Thanks |
Hie everyone, is there any programming script to calibrate the P4 Pro gimbal after replacing some damaged/fractured spares from the gimbal?? |
Hello! I have tried to find some information, but haven't got anything. Now as I understand, that I had to replace magnets from old motor to new, but I have already put my old motor in trash bin. So. Is there any other solution that can work to center my gimbal. My drone have crashed, I have replaced yaw motor, flex cable and also esc board for gimbal. Is there some software where can manually calibrate motor? |
How much are you selling for? |
I am looking for a person who sell the Software for calibration of Gimbal's DJI. I say calibration, when you change some module ESC of the engines. Example: ESC Yaw/Roll Gimbal Phantom 4 or Phantom 4 Pro and the Gimbal goes crooked. I saw that you made a gimbal Spark calibration Software available, would you sell some to calibrate gimbal from the other Drones?
The text was updated successfully, but these errors were encountered: