| java.lang.Object | |
| ↳ | dji.common.flightcontroller.DJINoFlyZone |
No fly zone. Check flysafe.dji.com for all no fly zones that are pre-set by DJI. A user or developer is not allowed to set their own no fly zone. The zone radius is a radius around the no fly zone center coordinate that determines how large the no fly zone is around the center coordinate. Once the aircraft is 100 meters away from a no fly zone, the user should be continuously notified that the aircraft is approaching a no fly zone. If the aircraft enters a no fly zone, it will stop and hover at the border.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DJINoFlyZone() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DJILocationCoordinate2D |
getZoneCenterCoordinate()
Gets the 2-dimensional no fly zone center coordinate.
| ||||||||||
| float |
getZoneRadius()
Gets the no fly zone radius.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Gets the 2-dimensional no fly zone center coordinate.
Gets the no fly zone radius.