视频流报错(m300rtk、eport、jetson nx无网卡版)
在按照“Linux平台配置BULK”和“树莓派4B配置USB device RNDIS 和 BULK”进行配置并开启自启动后,给出了如下结果:
nx@ubuntu:~$ sudo systemctl status nv-l4t-usb-device-mode.service
[sudo] nx 的密码:
● nv-l4t-usb-device-mode.service - NVIDIA L4T USB Device Mode
Loaded: loaded (/etc/systemd/system/nv-l4t-usb-device-mode.service; enable>
Active: active (exited) since Sun 2024-12-15 04:12:27 PST; 2min 17s ago
Process: 732 ExecStart=/home/nx/nv-l4t-usb-device-mode.sh (code=exited, sta>
Main PID: 732 (code=exited, status=0/SUCCESS)
Tasks: 2 (limit: 17783)
Memory: 864.0K
CGroup: /system.slice/nv-l4t-usb-device-mode.service
├─1609 /home/nx/startup_bulk /dev/usb-ffs/bulk1
└─1953 /home/nx/startup_bulk /dev/usb-ffs/bulk2
Dec 15 04:12:15 ubuntu nv-l4t-usb-device-mode.sh[732]: 创建符号链接: configs/c.>
Dec 15 04:12:16 ubuntu nv-l4t-usb-device-mode.sh[732]: 成功挂载 bulk1 到 /dev/u>
Dec 15 04:12:16 ubuntu nv-l4t-usb-device-mode.sh[732]: 启动 bulk1 服务...
Dec 15 04:12:19 ubuntu nv-l4t-usb-device-mode.sh[732]: 设置 BULK2...
Dec 15 04:12:19 ubuntu nv-l4t-usb-device-mode.sh[732]: 创建符号链接: configs/c.>
Dec 15 04:12:19 ubuntu nv-l4t-usb-device-mode.sh[732]: 成功挂载 bulk2 到 /dev/u>
Dec 15 04:12:19 ubuntu nv-l4t-usb-device-mode.sh[732]: 启动 bulk2 服务...
Dec 15 04:12:27 ubuntu nv-l4t-usb-device-mode.sh[732]: 连接 UDC 设备: 3550000.x>
Dec 15 04:12:27 ubuntu nv-l4t-usb-device-mode.sh[732]: /
Dec 15 04:12:27 ubuntu systemd[1]: Finished NVIDIA L4T USB Device Mode.
lines 1-21/21 (END)...skipping...
“nv-l4t-usb-device-mode.sh”配置在开机自启中了,且使用“ls /dev/tty*"可以查看到ACM0和USB0,但在键入”c“进行视频推流时遇到了如下错误:
nx@ubuntu:~$ sudo systemctl start nv-l4t-usb-device-mode.service
Job for nv-l4t-usb-device-mode.service failed because the control process exited with error code.
See "systemctl status nv-l4t-usb-device-mode.service" and "journalctl -xe" for details.
nx@ubuntu:~/Payload-SDK-master/Payload-SDK-master/build/bin$ sudo ./dji_sdk_demo_linux_cxx
[sudo] nx 的密码:
'Logs/latest.log' -> 'DJI_0013_20241215_04-13-59.log'
[0.020][core]-[Info]-[DjiCore_Init:106) Payload SDK Version : V3.9.2-beta.0-build.2125
[2.078][utils]-[Info]-[DjiSdkVersionAck_Parse:183) Identify aircraft serial number = 1ZNBK3Q00C007A, Firmware = 3.4.18.68
[2.082][adapter]-[Info]-[DjiAccessAdapter_Init:231) Identify aircraft series is Matrice 300 Series
[2.082][adapter]-[Info]-[DjiAccessAdapter_Init:264) Identify mount position type is Extension Port Type
[2.108][adapter]-[Info]-[DjiAccessAdapter_Init:365) Identity uart0 baudrate is 460800 bps
[2.109][adapter]-[Info]-[DjiPayloadNegotiate_Init:147) No need negotiate device info
[3.270][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:474) Updating dji sdk policy file...
[4.270][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:482) Update dji sdk policy file successfully
[4.280][core]-[Info]-[DjiCore_Init:174) Identify AircraftType = Matrice 300 RTK, MountPosition = Extension Port, SdkAdapterType = None
[4.313][gimbal]-[Error]-[DjiGimbal_Init:205) Can't support this function
[4.313][user]-[Error]-[DjiTest_GimbalStartService:154) init gimbal module error: 0x000000E0
[4.313][user]-[Error]-[DjiUser_ApplicationStart:316) psdk gimbal init error
[4.821][user]-[Info]-[SetVolume:580) Set widget speaker volume: 60
[4.821][user]-[Warn]-[SetVolume:598) No audio device found, please add audio device and init speaker volume here!!!
[10.323][core]-[Info]-[DjiCore_ApplicationStart:238) Start dji sdk application
[10.323][user]-[Info]-[DjiUser_ApplicationStart:363) Application start.
| Available commands: |
| [0] Fc subscribe sample - subscribe quaternion and gps data |
| [1] Flight controller sample - you can control flying by PSDK |
| [2] Hms info manager sample - get health manger system info by language |
| [a] Gimbal manager sample - you can control gimbal by PSDK |
| [c] Camera stream view sample - display the camera video stream |
| [d] Stereo vision view sample - display the stereo image |
| [e] Run camera manager sample - you can test camera's functions interactively |
| [f] Start rtk positioning sample - you can receive rtk rtcm data when rtk signal is ok |
c
[16.099][liveview]-[Error]-[DjiLiveview_Init:286) Usb bulk handler and network handler is null. Use liveview feature need usb bulk handler or network handler. Please register usb bulk handler or network handler and retry it again.
该错误我无法找到解决方案,且参照视频流报错 – 大疆创新SDK技术支持论坛尝试了在sample_c++/linux/nvidia_jetson/application/dji_sdk_config.h中更改连接,依然未能解决错误。求指教!求救!万分感谢!
请先登录再写评论。
评论
1 条评论