java.lang.Object | |
↳ | dji.common.flightcontroller.DJISimulatorInitializationData |
Data to initialize the simulator with.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public double | latitude | Initial latitude of the aircraft. | |||||||||
public double | longitude | Initial longitude of the aircraft. | |||||||||
public int | numOfSatellites | The initial number of GNSS satellites with range [0, 20] | |||||||||
public int | simulationStateUpdateFrequency | Aircraft simulator state push frequency in Hz with range [2, 150]. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJISimulatorInitializationData()
Constructor
| |||||||||||
DJISimulatorInitializationData(double latitude, double longitude, int simulationStateUpdateFrequency, int numOfSatellites)
Constructor
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Initial latitude of the aircraft.
Initial longitude of the aircraft.
The initial number of GNSS satellites with range [0, 20]
Aircraft simulator state push frequency in Hz with range [2, 150]. A setting of 10 Hz will result in onSimulatorDataUpdated being called 10 times per second.
Constructor
Constructor
latitude | Initial latitude. |
---|---|
longitude | Initial longitude. |
simulationStateUpdateFrequency | Frequency of simulation state updates. |
numOfSatellites | The initial number of the GPS satellites. |