MSDK 5.9.0 + DJI Mini 3 Pro - Virtual stick problem

Completed

Comments

3 comments

  • DJI Developer Support
    The command 'virtualStickVM.enableVirtualStick' puts the aircraft into 'VIRTUAL_STICK' mode. Could you verify that the aircraft has completed takeoff when you requested it to enter virtual stick mode? It is not possible to enter virtual stick mode during takeoff.
    0
    Comment actions Permalink
  • Marvelmind Robotics

    Thank you for your help.

    I called 'virtualStickVM.enableVirtualStick' before takeoff, and not repeated this command after takeoff, because 'virtualStickVM.currentVirtualStickStateInfo.value?.state?.isVirtualStickEnable' returned true every time I check it. It seems repeated call of 'virtualStickVM.enableVirtualStick' after takeoff solves the problem, thank you.

    0
    Comment actions Permalink
  • DJI Developer Support
    I'm glad that your issue has been resolved. The takeoff action will interrupt the Virtual Stick, so it's better to activate the virtual joystick after completing the takeoff.
    0
    Comment actions Permalink

Please sign in to leave a comment.