Skip to content
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

DjiTimeSync_Init() seg faults on x86 #2

Open
george-pippos opened this issue Aug 25, 2023 · 0 comments
Open

DjiTimeSync_Init() seg faults on x86 #2

george-pippos opened this issue Aug 25, 2023 · 0 comments

Comments

@george-pippos
Copy link

Our team is trying to implement the RTK PPS time synchronisation feature using the Payload SDK version 3.5. The drone platforms we are using are the M300RTK and M350.

Following the documentation (https://developer.dji.com/doc/payload-sdk-tutorial/en/function-set/basic-function/time-syn.html), it says that we need to:

  1. Configure the PPS pin paramaters. We have done this and are receiving the PPS signal out of the drone.
  2. Initialise time synchronisation using the relevant function (DjiTimeSync_Init())

When calling the initialisation function, a segmentation fault occurs. When running through GDB, the following warning occurs:
[639047.089][time_sync]-[Warn]-[DjiTimeSync_InitAircraftTimeSync:137 The aircraft type do not support aircraft time sync function. Please read API or user documentation and replace aircraft then try again.

The M300RTK I am developing on has the latest firmware. The documentation says that M300RTK is a compatible product but the warning above shows otherwise.

I should also mention that I ensure I perform all the usual PSDK initialisation correctly before calling the DjiTimeSync_Init() function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant