public class

DJISimulatorInitializationData

extends Object
java.lang.Object
   ↳ dji.common.flightcontroller.DJISimulatorInitializationData

Class Overview

Data to initialize the simulator with.

Summary

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

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]. A setting of 10 Hz will result in onSimulatorDataUpdated being called 10 times per second.

Public Constructors

public DJISimulatorInitializationData ()

Constructor

public DJISimulatorInitializationData (double latitude, double longitude, int simulationStateUpdateFrequency, int numOfSatellites)

Constructor

Parameters
latitude Initial latitude.
longitude Initial longitude.
simulationStateUpdateFrequency Frequency of simulation state updates.
numOfSatellites The initial number of the GPS satellites.