Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EVO II Pro V3: Accessing No-Fly Zone (NFZ) Data in SDK 1.5 #17

Open
tuannguyenneo opened this issue Jul 19, 2023 · 3 comments
Open

EVO II Pro V3: Accessing No-Fly Zone (NFZ) Data in SDK 1.5 #17

tuannguyenneo opened this issue Jul 19, 2023 · 3 comments

Comments

@tuannguyenneo
Copy link

I have a few questions regarding the No-Fly Zone (NFZ) data accessibility and a specific function mentioned in your documentation.

  1. The EVO II Pro V3 model is possible to fly in NFZ? As my testing, I can fly (manually) in my local NFZ (example: belonging to an airport zone). Please help me confirm that.

  2. NFZ Data Availability:
    Could you please confirm if it is possible to retrieve No-Fly Zone (NFZ) data from the SDK version 1.5 (EVO II Pro V3 drone model)?

While reading your documentation, I came across a function related to flight control function implementation. The link to the documentation is as follows: checknfz method

The function includes parameters such as "country" and "md5." However, I am unsure about the proper usage and purpose of these parameters. Could you kindly provide guidance on how to correctly utilize this function, specifically regarding the "country" and "md5" parameters?

Thank you

@masayuki-kobayashi1
Copy link

@AutelSDK
Any updates?

@AutelSDK
Copy link
Owner

AutelSDK commented Nov 4, 2023

NativeHelper

/**
* 写入禁飞区文件
*
* @param country 国家编码,如"CN"
* @param jsonContent 禁飞区 json 字符串
* @param fileName 文件存储路径
*/
public static native void writeNfzFile(String country, String jsonContent, String fileName);

/**
* 待 检查禁飞区数据是否需要更新
*
* @param country 临时禁飞区时为文件名,固定禁飞区时为国家命名的名字
* @param md5 文件在md5值
* @param callback
*/
void checkNFZ(String country, String md5, CallbackWithOneParam callback);

一个检查是否要更新,一个写入
目前只支持服务端的接入更新

@masayuki-kobayashi1
Copy link

@AutelSDK
Can you tell me how to render NFZ in mapbox using the Japanese NFZ data preinstalled on the Remote Controller SE?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants