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
PSDK commands timesout after multiple calls M30 #151
Comments
Agent comment from Leon in Zendesk ticket #102367: Hello, thank you for contacting DJI. the m30/m30T is 2 like the h20 while the wide is 1 If your command times out, it is likely that your serial port cannot handle the large amount of data. We noticed that you subscribed to too many TOPICs, and the frequency is generally 50Hz. We recommend that you lower the frequency and try to see if there is an improvement, or reduce the number of TOPICs you subscribe to. In addition, can you upload your PSDK operation log? File containing Debug information. Thank you for your support of DJI products. Best Regards, °°° |
how can i get the PSDK operation log? |
Sorry what do you mean by this, do you mean the following is incorrect ?
So the enum in the payload sdk code is wrong? |
Agent comment from Leon in Zendesk ticket #102367: Hello, thank you for contacting DJI. Thank you for your patience. The complete log on how to obtain the PSDK can be found at this path: No, what I mean is that this enumeration is correct. We set the wide-angle lens to 1, the zoom lens to 2, and the infrared lens to 3. Thank you for your support of DJI products. Best Regards, °°° |
I am saying in your code
|
Agent comment from Leon in Zendesk ticket #102367: Hello, thank you for contacting DJI. Thank you for your patience and additional information. I'm very sorry that I didn't fully understand what you meant before. I fully understand it now. There is a problem with the corresponding numbers in the video source column of the M30's zoom camera and wide-angle camera. I just tested it. The acquisition of these two video sources is corresponding and normal. It should not affect your use currently. Thank you for your support of DJI products. Best Regards, °°° |
For bit of context, currently we use flying the m30 with the psdk software. After running multiple missions with streaming, we notice that all of a sudden, randomly the service call to the psdk times out. I also noticed this behavior when I set the camera source to the m30T based on the enum in the payload sdk. It seems that the enum is incorrect and that the zoom for the m30/m30T is 2 like the h20 while the wide is 1. Please confirm if this is indeed the case.
I am not sure it is a problem related to the baudrate or the frequency we set for each of the subscriber. Currently for the M30, we use the following information. Also, it seem the documentation on your payload page on the frequency and topics available for each drone is incorrect ->https://developer.dji.com/doc/payload-sdk-tutorial/en/function-set/basic-function/info-management.html
The text was updated successfully, but these errors were encountered: