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

Successful setup of UART and bulk but I can't get the frame when i run the sample

Open Y1annis opened this issue 7 months ago • 10 comments

Hello! I attached a screenshot of the terminal. Currently no camera is connected but I tried to get a frame from the FPV but the frame does not appear. Do you know what is the issue?

Image

Y1annis avatar May 13 '25 09:05 Y1annis

Agent comment from Leon in Zendesk ticket #142554:

Hello, we have a knowledge base dedicated to this, you may refer to it here: https://sdk-forum.dji.net/hc/zh-cn/articles/43810493122457-PSDK-C-sample-FPV%E6%97%A0%E6%B3%95%E6%98%BE%E7%A4%BA%E8%A7%86%E9%A2%91%E6%B5%81

°°°

dji-dev avatar May 14 '25 08:05 dji-dev

Hello, I also wanted to ask which baud_rate is recommended, because I set it to 921600 and sometimes the UART is not communicating with the drone and I have to replug the USB. Thank you!

Y1annis avatar May 16 '25 13:05 Y1annis

Agent comment from Leon in Zendesk ticket #142554:

Hello, we do not have a recommended baud rate or a specified baud rate. This is determined by the situation of your board and the number of enabled functions. For example, if you subscribe to many TOPICs in PSDK, we would recommend that you use a baud rate of 460800 or above. If your board does not support such a high baud rate, it is generally around 230400.

°°°

dji-dev avatar May 19 '25 08:05 dji-dev

Okay thank you! One more question, which sample is recommended? sample_c or sample_c++

Y1annis avatar May 19 '25 09:05 Y1annis

Agent comment from Leon in Zendesk ticket #142554:

Hello, depending on your habits, we think C sample is easier to use.

°°°

dji-dev avatar May 19 '25 09:05 dji-dev

Hello again! And both of those samples have the same functionalities?

Y1annis avatar May 19 '25 09:05 Y1annis

Agent comment from Leon in Zendesk ticket #142554:

Hello, actually the available functions are the same, but the C++ sample is more comprehensive in demonstration.

°°°

dji-dev avatar May 19 '25 09:05 dji-dev

I tried what is showed in the link you sent me: https://sdk-forum.dji.net/hc/zh-cn/articles/43810493122457-PSDK-C-sample-FPV%E6%97%A0%E6%B3%95%E6%98%BE%E7%A4%BA%E8%A7%86%E9%A2%91%E6%B5%81 But unfortunately I still cannot receive stream from the camera. It says that the stream is saved in a file but it seems that nothing is saved.

Y1annis avatar May 19 '25 11:05 Y1annis

Agent comment from Leon in Zendesk ticket #142554:

Hello, if this is the case, it is recommended that you refer to these two articles. Generally, your bulk environment is not configured successfully, or the bulk node information in your PSDK code does not correspond to the actual available nodes: https://sdk-forum.dji.net/hc/zh-cn/articles/38622108040857-Linux%E5%B9%B3%E5%8F%B0%E9%85%8D%E7%BD%AEBULK BULK node configuration in PSDK code

°°°

dji-dev avatar May 20 '25 09:05 dji-dev

I run the same sample with the DJI Matrice 300 and the sample worked, but with the M350 I can't get a frame. Does the drone require further setup?

Y1annis avatar Jun 11 '25 11:06 Y1annis