java.lang.Object | |
↳ | dji.common.flightcontroller.DJIAttitude |
The attitude of the aircraft where the pitch, roll, and yaw values will be in the range of [-180, 180]. If the values of the pitch, roll, and yaw are 0, the aircraft will be hovering level with a True North heading.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public double | pitch | The pitch value of the aircraft: forwards is positive, backwards is negative. | |||||||||
public double | roll | The roll value of the aircraft: forwards is positive, backwards is negative. | |||||||||
public double | yaw | The yaw value of the aircraft. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIAttitude(double pitch, double roll, double yaw)
Constructor.
| |||||||||||
DJIAttitude()
Constructor.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The pitch value of the aircraft: forwards is positive, backwards is negative. Units are in degrees.
The roll value of the aircraft: forwards is positive, backwards is negative. Units are in degrees.
The yaw value of the aircraft. It depends on the heading of the aircraft, if the aircraft is heading to the north, the value of it will be 0. and the value of it will increase clockwise.
Constructor.
pitch | Pitch value to be set. |
---|---|
roll | Roll value to be set. |
yaw | Yaw value to be set. |
Constructor.