question about the isVirtualStickEnable method
已完成I have tried the Virtual Stick sample code, isVirtualStickEnable method of VirtualStickState class does not return the expected value.
When the sample code is started, isVirtualStickEnable returns false, and once the "Enable Virtual Stick" button is tapped, isVirtualStickEnable returns true.
Next, when the "Disable Virtual Stick" button is tapped, the "disableVirtualStick success." toast is displayed, but isVirtualStickEnable remains true.
In actual operation, tapping the "Enable Virtual Stick" button transfers control to the Virtual Stick, and then tapping the "Disable Virtual Stick" button transfers control to the RC, which appears to be operating normally.
Do I need to add some process to know if the Virtural Stick is enabled? Or do I have to make it listen for another parameter?
My running environment is as follows.
Android MSDK: v5.5.0, v5.4.0, v5.3.0
Aircraft: Mini 3 Pro (firmware 01.00.0600)
RC: RC N1 (firmware 04.14.0600)
Device: Android 9
Android Studio: Chipmunk 2021.2.1 Patch2
请先登录再写评论。
评论
3 条评论