hbmem_img

  1. ros2 launch hobot_codec hobot_codec_encode.launch.py
  2. [INFO] [launch]: All log files can be found below /home/sunrise/.ros/log/2024-12-28-17-07-14-988022-ubuntu-3815
  3. [INFO] [launch]: Default logging verbosity is set to INFO
  4. Hobot shm pkg enables zero-copy with fastrtps profiles file: /opt/tros/humble/lib/hobot_shm/config/shm_fastdds.xml
  5. Hobot shm pkg sets RMW_FASTRTPS_USE_QOS_FROM_XML: 1
  6. env of RMW_FASTRTPS_USE_QOS_FROM_XML is 1 , ignore env setting
  7. [INFO] [hobot_codec_republish-1]: process started with pid [3816]
  8. [hobot_codec_republish-1] [WARN] [1735405635.340438299] [hobot_codec]: Parameters:
  9. [hobot_codec_republish-1] sub_topic: /hbmem_img
  10. [hobot_codec_republish-1] pub_topic: /image_jpeg
  11. [hobot_codec_republish-1] channel: 1
  12. [hobot_codec_republish-1] in_mode: shared_mem
  13. [hobot_codec_republish-1] out_mode: ros
  14. [hobot_codec_republish-1] in_format: nv12
  15. [hobot_codec_republish-1] out_format: jpeg
  16. [hobot_codec_republish-1] enc_qp: 10
  17. [hobot_codec_republish-1] jpg_quality: 60
  18. [hobot_codec_republish-1] input_framerate: 30
  19. [hobot_codec_republish-1] output_framerate: -1
  20. [hobot_codec_republish-1] dump_output: 0
  21. [hobot_codec_republish-1] [WARN] [1735405635.347481717] [HobotCodecImpl]: platform x5
  22. [hobot_codec_republish-1] [WARN] [1735405635.347735092] [hobot_codec]: Enabling zero-copy
  23. [hobot_codec_republish-1] [ERROR] [1735405640.347979702] [hobot_codec]: Hobot_Codec has not received image for more than 5 seconds! Please check whether the image publisher still exists by ‘ros2 topic info /hbmem_img’!
  24. [hobot_codec_republish-1] [ERROR] [1735405645.347904965] [hobot_codec]: Hobot_Codec has not received image for more than 5 seconds! Please check whether the image publisher still exists by ‘ros2 topic info /hbmem_img’!
  25. [hobot_codec_republish-1] [ERROR] [1735405650.347906465] [hobot_codec]: Hobot_Codec has not received image for more than 5 seconds! Please check whether the image publisher still exists by ‘ros2 topic info /hbmem_img’!
  26. [hobot_codec_republish-1] [ERROR] [1735405655.347911330] [hobot_codec]: Hobot_Codec has not received image for more than 5 seconds! Please check whether the image publisher still exists by ‘ros2 topic info /hbmem_img’!
  27. [hobot_codec_republish-1] [ERROR] [1735405660.347929019] [hobot_codec]: Hobot_Codec has not received image for more than 5 seconds! Please check whether the image publisher still exists by ‘ros2 topic info /hbmem_img’!
  28. [hobot_codec_republish-1] [ERROR] [1735405665.347935368] [hobot_codec]: Hobot_Codec has not received image for more than 5 seconds! Please check whether the image publisher still exists by ‘ros2 topic info /hbmem_img’!
  29. [hobot_codec_republish-1] [ERROR] [1735405670.347976712] [hobot_codec]: Hobot_Codec has not received image for more than 5 seconds! Please check whether the image publisher still exists by ‘ros2 topic info /hbmem_img’!
  30. [hobot_codec_republish-1] [ERROR] [1735405675.347998344] [hobot_codec]: Hobot_Codec has not received image for more than 5 seconds! Please check whether the image publisher still exists by ‘ros2 topic info /hbmem_img’!
  31. [hobot_codec_republish-1] [ERROR] [1735405680.348001224] [hobot_codec]: Hobot_Codec has not received image for more than 5 seconds! Please check whether the image publisher still exists by ‘ros2 topic info /hbmem_img’!
  32. [hobot_codec_republish-1] [ERROR] [1735405685.347990063] [hobot_codec]: Hobot_Codec has not received image for more than 5 seconds! Please check whether the image publisher still exists by ‘ros2 topic info /hbmem_img’!
  33. [hobot_codec_republish-1] [ERROR] [1735405690.347988153] [hobot_codec]: Hobot_Codec has not received image for more than 5 seconds! Please check whether the image publisher still exists by ‘ros2 topic info /hbmem_img’!

不行就看源码,反正源码都开放出来了

那你再看看手册吧,这个需要理解数据流动

不要纠结这个问题,用的时候再看。

这个节点是正常启动了。报这个问题是因为Codec节点没有收到用于输入的数据。这里需要准备nv12的输入数据给Codec节点接收。

您好,从日志看这个节点已经成功启动了,能否描述一下你的应用场景以便于进一步分析。

是5.2.2的数据展示的教程

有具体的教程吗

现在就是在使用了

你好,这个解决了吗?