-
Notifications
You must be signed in to change notification settings - Fork 116
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
Values of ESC current and voltage #201
Comments
Agent comment from Leon in Zendesk ticket #115811: Thank you for reaching out to DJI. We sincerely apologize for any inconvenience this may have caused. May I kindly inquire which version of the PSDK you are currently using? This may potentially be a bug within the SDK. We appreciate your support for DJI products. Wishing you all the best! Best Regards, DJI SDK Technical Support °°° |
Hi, This is copy-pasted from the /* Exported constants --------------------------------------------------------*/
#define DJI_VERSION_MAJOR 3 /*!< DJI SDK major version num, when have incompatible API changes. Range from 0 to 99. */
#define DJI_VERSION_MINOR \
9 /*!< DJI SDK minor version num, when add functionality in a backwards compatible manner changes. Range from 0 \
to 99. */
#define DJI_VERSION_MODIFY \
0 /*!< DJI SDK modify version num, when have backwards compatible bug fixes changes. Range from 0 to 99. */
#define DJI_VERSION_BETA \
0 /*!< DJI SDK version beta info, release version will be 0, when beta version release changes. Range from 0 to 255. \
*/
#define DJI_VERSION_BUILD \
2044 /*!< DJI SDK version build info, when jenkins trigger build changes. Range from 0 to 65535. */ When I run the program, it outputs
Thank you for looking into this! |
Agent comment from Leon in Zendesk ticket #115811: Thank you for reaching out to DJI. We appreciate the additional information you have provided. Would you be so kind as to attach the flight control logs and the PSDK debug logs? We would like to confirm this with our development team. Thank you for your support of DJI products. Wishing you all the best! Best Regards, DJI SDK Technical Support °°° |
Please find in attached archive the |
Agent comment from Leon in Zendesk ticket #115811: Hello, thank you for contacting DJI. Thank you for the attached logs, we will confirm this issue for you as soon as possible. Thank you for your support of DJI products! Wish you all the best! Best Regards, °°° |
I wonder if the specified ESC current and voltage units are correct.
From
dji_fc_subscription.h
:However, with our Mavic 3E, I get (
printf("%d",esc_data.esc[0].voltage)
etc.) values like1634
for the ESC voltages (multiplied by 10 they get very close to the battery voltage, so I guess a factor of 10 is missing) and for the ESC currents, the values are very low,400
to900
or so. This doesn't check out with the battery current which is around10000
mA (10 A). Here, a simple ×10 ×4 motors of the current yields too much, so something else is weird here.Any ideas?
The text was updated successfully, but these errors were encountered: