NVIDIA-AI-IOT / ros2_trt_pose

ROS 2 package for "trt_pose": real-time human pose estimation on NVIDIA Jetson Platform
MIT License
64 stars 16 forks source link

"ros2 run image_tools cam2image" doesn't work #4

Closed zeta0707 closed 3 years ago

zeta0707 commented 3 years ago

Hi,

I'm trying ro2_trt_pose on jetbot0.4.0 image. JETPACK version is 4.3. Any suggestion for below Gstreamer error?

jetbot@jetson-4-3:~$ ros2 run image_tools cam2image 
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (1757) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Internal data stream error.
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (886) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
select timeout
VIDIOC_DQBUF: Resource temporarily unavailable
VIDIOC_QBUF: Invalid argument
VIDIOC_QBUF: Invalid argument

Thanks!

zeta0707 commented 3 years ago

Hi,

I don't see this problem after I install ROS2 Eloquent from debian package. https://index.ros.org/doc/ros2/Installation/Eloquent/Linux-Install-Debians/

I faced this problem with ROS2 Eloquent build from source. It looks ROS2 built wasn't correct. https://index.ros.org/doc/ros2/Installation/Eloquent/Linux-Development-Setup/

Thanks!