dji-sdk / Onboard-SDK

DJI Onboard SDK Official Repository

Home Page:https://github.com/dji-sdk/Onboard-SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Activate API control in Assistant

gendebeat opened this issue · comments

Hello, i want to enable API control in Assistant2-Enterprise with a M300RTK
but all fields are empy. If i check API Enable, is not save
and baudrate have not field to select speed.
Is someone with the same problem?

https://ibb.co/2SrsbcZ

commented

Agent comment from kyle.cai in Zendesk ticket #73922:

Because M300 newly supports PSDK 3.x (integrated with the original OSDK function), it is no longer necessary to set OSDK through DJI Assistant2, so the new version of DJI Assistant2 has changed. We have already reported to the relevant departments that the DJI Assistant2 needs to be compatible with the old OSDK4.x version.Please don't upgrade the DJI Assistant2 now.

If you do not have a backup version of DJI Assistant2 version 2.1.3, please go to the link below to download it.
https://pan-sec.djicorp.com/s/FTYQw3LFNX3MrZ9
password:dji123

This link is valid for a period of time. If the link is invalid, please send an email to dev@dji.com. We have asked the relevant departments of DJI Assistant2 to be compatible with OSDK 4.x as soon as possible.

°°°

ok thanks, now it working after spend hours fighting with version numbers.

sorry maybe its not here the site for ask more questions. Now i have UART (ttyUSB0 ttl converter) and USB (ttyACM0) conect to OSDK port.
I use OSDK-ROS and i cant now connect to drone and receive the topics (telemetry).
But maybe ttyACM0 is not working correct, because i cant receive image data in the camera topics and the log sais:
Screenshot-2
@ AdvancedSensing, L108: Failed to initialize USB Bulk Linker channel for liveview!
[2837127.288]ERRORLOG/1 @ AdvancedSensing, L115: Failed to create task for liveview!

and after:
[2837127.289]STATUS/1 @ LiveViewImpl, L89: Finding if liveview stream is available now.

but i dont have image in camera topics and if i try compiled examples i dont have stream of camera.
some forums sujest add SUBSYSTEM=="usb", ATTRS{idVendor}=="2ca3", MODE="0666"

thanks

commented

Agent comment from kyle.cai in Zendesk ticket #73922:

OSDK will use the USB ACM channel and BULK channel. The video stream goes through the bulk channel. The error message indicates that the bulk initialization failed, which is usually caused by permissions. Therefore, adding a USB node as suggested can solve this problem.

Advanced sensing sample needs to use sudo to run(https://sdk-forum.dji.net/hc/en-us/articles/1500002017981)
image.png

°°°