Payload-SDK icon indicating copy to clipboard operation
Payload-SDK copied to clipboard

Managed to receive camera stream on the DJI Matrice 300 but not on the Matrice 350

Open Y1annis opened this issue 6 months ago • 12 comments

Hello! I am currently using PSDK Version 3.11, Jetson Xavier NX, E-port development kit and the DJI Matrice 350. I succesfully configured uart and bulk because I have the bulk1/ep1, bulk1/ep2 and bulk2/ep1, bulk2/ep2. When I run the liveview sample on the Matrice 300 I get the stream successfully. However, when I am using the Matrice 350 I can't get the stream (I dont get the pop with the frame). Do you know what causes this?

Thank you!

Y1annis avatar Jun 11 '25 13:06 Y1annis

Hi Yiannis,

I am just a PSDK user, but I am subscribed to the PSDK GitHub repo, so I saw this issue. I made a setup script a while back to make the USB bulk functionality work on the E-port with a Matrice 350 and Raspberry Pi 4 and 5. You can check it out and see if it works for you. (Works on the Pi, might not work for Jetson series, but might give you an idea of how to set it up.)

File: https://github.com/uzgit/Payload-SDK/blob/master/configure.sh From about lines lines 394 to 1333

There are more guidelines on the repo page: https://github.com/uzgit/Payload-SDK/

uzgit avatar Jun 11 '25 13:06 uzgit

Hey @Y1annis, I had the same issue with the M350 and Jetson Orin Nano. The only workaround that worked for me was using USE_UART_AND_NETWORK_DEVICE with the l4tbr0 interface. I used the same hardware setup shown here: https://developer.dji.com/doc/payload-sdk-tutorial/en/quick-start/quick-guide/jetson-nano.html. I know it’s not exactly what you were asking for, but this setup should at least lets you access the camera stream.

AndreaSanchini avatar Jun 13 '25 08:06 AndreaSanchini

Hello guys and than you for the answers! So I need to buy seperate hardware to run the uart+network device>

Y1annis avatar Jun 13 '25 08:06 Y1annis

@dji-dev Hello! Any input on this?

Y1annis avatar Jun 23 '25 07:06 Y1annis

Agent comment from Leon in Zendesk ticket #145797:

Hello, thank you for your patience. If you cannot get the video stream, it is usually because there is a problem with your PSDK program node configuration. You can refer to the article here: BULK node configuration in PSDK code

Or you can use a USB network card to connect to the drone. Currently, we only officially support RTL8152 and AX88179A USB network cards.

°°°

dji-dev avatar Jun 23 '25 07:06 dji-dev

Hello @dji-dev , isn't it weird that I can get frames from Matrice 300 but can't on the Matrice 350? On the Matrice 350 it is stuck on the press q to exit stream but no frame is shown. For the network card what is the setup? It is connected on the e-port and then ethernet is connected to the Jetson? Thank you for the answers

Y1annis avatar Jun 23 '25 08:06 Y1annis

Hi @Y1annis, concerning the uart and network setup on a jetson platform, try to have a look here https://aerostack2.github.io/_03_aerial_platforms/_dji_psdk/index.html.

AndreaSanchini avatar Jun 23 '25 09:06 AndreaSanchini

Agent comment from Leon in Zendesk ticket #145797:

Hello, this is the design. First of all, the links of M300 and M350 are different. M300 is the drone as a device connected to your development board (it does not require you to configure the BULK environment), and M350 is the drone as a host, and your development board is connected to the aircraft as a device, so you need to configure the BULK environment, otherwise the link will be unavailable.

°°°

dji-dev avatar Jun 24 '25 09:06 dji-dev

Thank you for the answer, it turns out that the jetson xavier nx should have been connected to the micro-usb port because it is the only port that can support device mode. Also i used the uart+network configuration through the jetson's micro usb

Y1annis avatar Jun 25 '25 12:06 Y1annis

Agent comment from Leon in Zendesk ticket #145797:

Hello, thank you for your supplement. May I ask if you have solved this problem? In fact, you can choose either method. You don't need to connect two links at the same time.

°°°

dji-dev avatar Jun 26 '25 03:06 dji-dev

Yes it fixed the issue, the fact that you gave me this info (M300 is the drone as a device connected to your development board (it does not require you to configure the BULK environment), and M350 is the drone as a host) helped me fix the problem.

Y1annis avatar Jun 26 '25 07:06 Y1annis

Agent comment from Leon in Zendesk ticket #145797:

OK, I'm glad that your problem has been solved. If you have any further questions, you are welcome to contact us again.

°°°

dji-dev avatar Jun 26 '25 08:06 dji-dev