java.lang.Object | ||
↳ | dji.sdk.base.DJIBaseComponent | |
↳ | dji.sdk.mobilerc.DJIMobileRemoteController |
A simulated remote controller on the mobile device to control the aircraft when the physical remote controller is absent. The mobile remote controller uses the american style. only supports Mode 2 control style and flight mode P. It is supported by Mavic Pro using WiFi.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIMobileRemoteController() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
float |
getLeftStickHorizontal()
Gets the horizontal movement value of the left stick.
| ||||||||||
float |
getLeftStickVertical()
Gets the vertical movement value of the left stick.
| ||||||||||
float |
getRightStickHorizontal()
Gets the horizontal movement value of the right stick.
| ||||||||||
float |
getRightStickVertical()
Gets the vertical movement value of the right stick.
| ||||||||||
boolean |
isConnected()
This is the method for detecting whether the component is connected.
| ||||||||||
void |
setLeftStickHorizontal(float data)
Simulates the horizontal movement of the left stick, which changes the
yaw of the aircraft causing it to rotate horizontally.
| ||||||||||
void |
setLeftStickVertical(float data)
Simulates the vertical movement of the left stick, which changes the
aircraft's thrust causing it to raise or lower in elevation.
| ||||||||||
void |
setRightStickHorizontal(float data)
Simulates the horizontal movement of the right stick, which changes
the aircraft's roll causing it to fly left or right.
| ||||||||||
void |
setRightStickVertical(float data)
Simulates the vertical movement of the right stick, which changes the
the aircraft's pitch causing it to fly forward or backward.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
dji.sdk.base.DJIBaseComponent
| |||||||||||
From class
java.lang.Object
|
Gets the horizontal movement value of the left stick.
Gets the vertical movement value of the left stick.
Gets the horizontal movement value of the right stick.
Gets the vertical movement value of the right stick.
This is the method for detecting whether the component is connected.
Simulates the horizontal movement of the left stick, which changes the yaw of the aircraft causing it to rotate horizontally. The valid range is [-1, 1].
Simulates the vertical movement of the left stick, which changes the aircraft's thrust causing it to raise or lower in elevation. The valid range is [-1, 1].
Simulates the horizontal movement of the right stick, which changes the aircraft's roll causing it to fly left or right. The valid range is [-1, 1].
Simulates the vertical movement of the right stick, which changes the the aircraft's pitch causing it to fly forward or backward. The valid range is [-1, 1].