Skip to content

DjiTimeSync_Init() seg faults on x86 #2

Open
@george-pippos

Description

@george-pippos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions