DJI Mobile SDK Documentation

      class IRTKStationManager

      interface IRTKStationManager
      Package:dji.v5.manager.interfaces
      Description:

      A class that manages the RTK base station, which is used to connect and configure the RTK base station.

      Supported since MSDK 5.0.0

      Class Members:
      method startSearchRTKStation
      void startSearchRTKStation(@NonNull CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Start searching the RTK base station. You can useaddSearchRTKStationListenerto add a listener to monitor this process.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull CommonCallbacks.CompletionCallback callbackReturn a result of the execution.
      method stopSearchRTKStation
      void stopSearchRTKStation(@NonNull CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Stop searching the RTK base station.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull CommonCallbacks.CompletionCallback callbackReturn a result of the execution.
      method startConnectToRTKStation
      void startConnectToRTKStation(int stationId, @NonNull CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Connect to the RTK station through base station id. You can get base station id fromRTKStationInfoby calling SearchRTKStationListener. After connecting to the RTk base station, you can monitor the connection status by callingaddRTKStationConnectStatusListener and monitor the base station information by callingaddConnectedRTKStationInfoListener.

      Supported since MSDK 5.0.0

      Input Parameters:
      int stationIdRTK bse station id.
      @NonNull CommonCallbacks.CompletionCallback callbackReturn a result of the execution.
      method addSearchRTKStationListener
      void addSearchRTKStationListener(@NonNull SearchRTKStationListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Add the listener of RTK base station search result.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull SearchRTKStationListener listenerThe listener of RTK base station search result.
      method removeSearchRTKStationListener
      void removeSearchRTKStationListener(@NonNull SearchRTKStationListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Remove the listener of the RTK base station search result.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull SearchRTKStationListener listenerThe listener of RTK base station search result.
      method clearAllSearchRTKStationListener
      void clearAllSearchRTKStationListener()
      Package:dji.v5.manager.interfaces
      Description:

      Remove all listeners of RTK base station search results.

      Supported since MSDK 5.0.0

      method addRTKStationConnectStatusListener
      void addRTKStationConnectStatusListener(@NonNull RTKStationConnectStatusListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Add the listener of RTK base station connection status.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull RTKStationConnectStatusListener listenerThe listener of RTK base station connection status.
      method removeRTKStationConnectStatusListener
      void removeRTKStationConnectStatusListener(@NonNull RTKStationConnectStatusListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Remove the listener of RTK base station connection status.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull RTKStationConnectStatusListener listenerThe listener of RTK base station connection status.
      method clearAllRTKStationConnectStatusListener
      void clearAllRTKStationConnectStatusListener()
      Package:dji.v5.manager.interfaces
      Description:

      Remove all listeners of RTK base station connection status.

      Supported since MSDK 5.0.0

      method addConnectedRTKStationInfoListener
      void addConnectedRTKStationInfoListener(@NonNull ConnectedRTKStationInfoListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Add the listener of RTK base station information.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull ConnectedRTKStationInfoListener listenerThe listener of RTK base station information.
      method removeConnectedRTKStationInfoListener
      void removeConnectedRTKStationInfoListener(@NonNull ConnectedRTKStationInfoListener listener)
      Package:dji.v5.manager.interfaces
      Description:

      Remove the listener of RTK base station information.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull ConnectedRTKStationInfoListener listenerThe listener of RTK base station information.
      method clearAllConnectedRTKStationInfoListener
      void clearAllConnectedRTKStationInfoListener()
      Package:dji.v5.manager.interfaces
      Description:

      Remove all listeners of RTK base station information.

      Supported since MSDK 5.0.0

      高级功能
      method
      method loginRTKStation
      void loginRTKStation(String password, @NonNull CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Login to the RTK base station. You can configure the advanced settings of the RTK base station after successful login. The password has to be starting from 0 to 9 with 6 digits. The default password is "123456".

      Supported since MSDK 5.0.0

      Input Parameters:
      String passwordlogin password.
      @NonNull CommonCallbacks.CompletionCallback callbackReturn a result of the execution.
      method getRTKStationReferencePosition
      void getRTKStationReferencePosition(@NonNull CommonCallbacks.CompletionCallbackWithParam<LocationCoordinate3D> callback)
      Package:dji.v5.manager.interfaces
      Description:

      Get the RTK base station reference position.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull CommonCallbacks.CompletionCallbackWithParam<LocationCoordinate3D> callbackReturn a result of the execution.
      Advanced settings
      method
      method setRTKStationReferencePosition
      void setRTKStationReferencePosition(LocationCoordinate3D locationCoordinate3D, @NonNull CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Set the RTK base station reference position, it is used to manually correcting the RTK base station position.

      Supported since MSDK 5.0.0

      Input Parameters:
      LocationCoordinate3D locationCoordinate3DRTK base station reference position.
      @NonNull CommonCallbacks.CompletionCallback callbackReturn a result of the execution.
      method resetRTKStationReferencePosition
      void resetRTKStationReferencePosition(@NonNull CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Reset the RTK base station reference position to {1,1,1}.

      Supported since MSDK 5.0.0

      Input Parameters:
      @NonNull CommonCallbacks.CompletionCallback callbackReturn a result of the execution.
      method resetRTKStationPassword
      void resetRTKStationPassword(RTKBaseStationResetPasswordInfo passwordInfo, @NonNull CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Reset the password of the RTK base station. Note: The password has to be starting from 0 to 9 with 6 digits. The default password is "123456".

      Supported since MSDK 5.0.0

      Input Parameters:
      RTKBaseStationResetPasswordInfo passwordInfoThe password of the RTK base station.
      @NonNull CommonCallbacks.CompletionCallback callbackReturn a result of the execution.
      method setRTKStationName
      void setRTKStationName(String name, @NonNull CommonCallbacks.CompletionCallback callback)
      Package:dji.v5.manager.interfaces
      Description:

      Set the name of the RTK base station. Tye name of the RTK base station is encoded by UTF-8, 4 characters in total. If you set the name as "abcdef", it will be saved as "abcd".

      Supported since MSDK 5.0.0

      Input Parameters:
      String nameThe name of the RTK base station.
      @NonNull CommonCallbacks.CompletionCallback callbackReturn a result of the execution.
      enum RTKStationConnetState
      enum RTKStationConnetState implements JNIProguardKeepTag
      Package:dji.sdk.keyvalue.value.rtkbasestation
      Description:

      The connection state of RTK base station.

      Supported since MSDK 5.0.0

      Enum Members:
      IDLEIdle.
      SCANNINGScanning.
      CONNECTINGConnecting.
      CONNECTEDConnected.
      DISCONNECTEDDisconnected.
      Class Members: