DjiFlightController_RegJoystickCtrlAuthorityEventCallback never calls back

Completed

Comments

7 comments

  • DJI Developer Support
    the DjiFlightController_RegJoystickCtrlAuthorityEventCallback function is currently compatible with the M30 and M3E models. However, it doesn't support the M300 and M350 models at the moment.
    0
    Comment actions Permalink
  • Ben Dart

    How can i tell if i have passed the Geofence from the PSDK with the M300?

     

    Why does the M350 allow me to call the 

    DjiFlightController_RegJoystickCtrlAuthorityEventCallback

    function? Should it return an error saying not available? 

    0
    Comment actions Permalink
  • DJI Developer Support
    We have fed back to the PSDK R&D department, suggesting that PSDK code comment or return an error.
    0
    Comment actions Permalink
  • Ben Dart

    But we also need to be able to get this information somehow. At the moment, if the customer comes within 30m of the geofence the dji drone takes control back, but we are no able to give any warning to the customer. The display mode (DJI_FC_SUBSCRIPTION_TOPIC_STATUS_DISPLAYMODE) still says DJI_FC_SUBSCRIPTION_DISPLAY_MODE_NAVI_SDK_CTRL which is incorrect because we are not able to command the drone.

    How can we from the PSDK v3.5

    1.  tell if he geofence is turned on?

    2. Tell if we have gone past the geofence?

    3. Tell if the drone has taken back control?

    0
    Comment actions Permalink
  • DJI Developer Support
    Sorry, PSDK currently does not support getting geofence information.
    0
    Comment actions Permalink
  • Ben Dart

    Will you be fixing this for PSDK 3.6 release?

     

    0
    Comment actions Permalink
  • DJI Developer Support
    Unfortunately, PSDK currently does not have any plans to support the retrieval of geofence information. About DjiFlightController_RegJoystickCtrlAuthorityEventCallback will add code comments in PSDK 3.6.
    0
    Comment actions Permalink

Please sign in to leave a comment.