DJI Onboard SDK 中 App Key 或 App License 长度错误
已完成正文:
大家好,
我在使用 DJI Onboard SDK 的过程中遇到了一个问题。根据官方文档,我配置了以下应用信息:
- 应用名称 (App Name):RPiTest
- 应用 ID (App ID):1156694
- 应用密钥 (App Key):(来自开发者中心的官方信息)
- 应用许可证 (App License):(来自开发者中心的官方信息)
当我尝试运行 dji_sdk_demo_linux_cxx
应用程序时,收到以下错误消息:
sql
复制代码
'Logs/latest.log' -> 'DJI_0002_20250115_10-24-59.log'
[0.002][user]-[Error]-[DjiUser_FillInUserInfo:405) Length of user information string is beyond limit. Please check.
terminate called after throwing an instance of 'std::runtime_error'
what(): Fill user info error, please check user info config.
已放弃
我已经仔细检查了 dji_sdk_app_info.h
文件,确保填写的应用信息与开发者网站上的官方信息一致,但错误仍然存在。似乎 App Key 或 App License 的长度超出了限制,或者 SDK 配置中存在其他问题。
复现步骤:
- 在
dji_sdk_app_info.h
文件中填写应用信息。 - 编译并运行
dji_sdk_demo_linux_cxx
应用程序。 - 在终端输出中观察到错误。
希望能得到大家的帮助来解决这个问题。
谢谢!
请先登录再写评论。
评论
7 条评论