大疆社区
标题:
OSDK开发遇到的问题
[打印本页]
作者:
夕阳孤影
时间:
2021-1-22
标题:
OSDK开发遇到的问题
我在运行大疆给的OSDK例程时,遇到了这样的报错,想问一下各位,怎么解决
运行实例程序,大疆的模拟器中的无人机并没有起飞,我看报错是说无人机仍在地面,电机却一直在转
我在百度中看到这样是因为电脑性能不够,我是用虚拟机运行的,请问有运行成功的小伙伴吗,可以告诉我你的配置是什么嘛?
蟹蟹!
以下是代码
hit@hit-virtual-machine:~/Onboard-SDK-3.9/build/bin$ ./djiosdk-flightcontrol-sample UserConfig.txt
argv[1] = UserConfig.txt
Read App ID
User Configuration read successfully.
STATUS/1
@
init, L56: Attempting to open device /dev/ttyUSB0 with baudrate 230400...
STATUS/1 @ init, L66: ...Serial started successfully.
STATUS/1 @ parseDroneVersionInfo, L762: Device Serial No. = 0DBDF5E0020158
STATUS/1 @ parseDroneVersionInfo, L764: Hardware = N3
STATUS/1 @ parseDroneVersionInfo, L765: Firmware = 3.3.8.47
ERRORLOG/1 @ initVirtualRC, L1188: Virtual RC is not supported on this platform!
STATUS/1 @ activate, L1398: version 0x303082F
STATUS/1 @ activate, L1411: Activation successful
STATUS/1 @ verify, L247: Verify subscription successful.
STATUS/1 @ initGimbal, L926: Checking if gimbal is connected ...
STATUS/1 @ startPackage, L353: Start package 0 result: 0.
STATUS/1 @ startPackage, L355: Package 0 info: freq=50, nTopics=1.
STATUS/1 @ removePackage, L471: Remove package 0 successful.
STATUS/1 @ initGimbal, L970: Gimbal not mounted!
| Available commands: |
| [a] Monitored Takeoff + Landing |
|
Monitored Takeoff + Position Control + Landing |
| [c] Monitored Takeoff + Position Control + Force Landing Avoid Ground |
b
STATUS/1 @ verify, L247: Verify subscription successful.
STATUS/1 @ startPackage, L353: Start package 0 result: 0.
STATUS/1 @ startPackage, L355: Package 0 info: freq=10, nTopics=2.
STATUS/1 @ getErrorCodeMessage, L752: �&���
ERRORLOG/1 @ getCommonErrorCodeMessage, L818: MOTOR_FAIL_INVALID_VERSION
STATUS/1 @ verify, L247: Verify subscription successful.
ERRORLOG/1 @ initPackageFromTopicList, L170: package [0] is being occupied.
STATUS/1 @ verify, L247: Verify subscription successful.
ERRORLOG/1 @ initPackageFromTopicList, L170: package [0] is being occupied.
STATUS/1 @ verify, L247: Verify subscription successful.
ERRORLOG/1 @ initPackageFromTopicList, L170: package [0] is being occupied.
STATUS/1 @ verify, L247: Verify subscription successful.
ERRORLOG/1 @ initPackageFromTopicList, L170: package [0] is being occupied.
STATUS/1 @ reset, L570: Reset Subscription Successful.
作者:
kv886
时间:
2021-1-22
这个要求很高配置吗?两年前的笔记本无压力啊
作者:
夕阳孤影
时间:
2021-1-22
kv886
1-22 17:07
这个要求很高配置吗?两年前的笔记本无压力啊
是啊,我也觉得没有问题,只是不知道怎么解决
作者:
夕阳孤影
时间:
2021-1-22
kv886
1-22 17:07
这个要求很高配置吗?两年前的笔记本无压力啊
兄弟,那个你之前用linux弄osdk开发成功了吗?
作者:
kv886
时间:
2021-1-22
夕阳孤影
1-22 19:35
兄弟,那个你之前用linux弄osdk开发成功了吗?
可以的啊,你连下APP看有没有报错
作者:
xiaowei1997
时间:
2021-5-12
我也遇到这个问题了,请问楼主解决了吗
欢迎光临 大疆社区 (https://bbs.dji.com/)
Powered by Discuz! X3.2