tiscamera: Error using ROS example
Hi, I was trying the ROS example and got the following error message. I think the most important one is about shmsrc. Roscore is running, I was using 23U445 USB3.0 Camera. Could you provide some help? Thanks
tcambin serial="39710010" name=source ! video/x-raw,format=BGRx,width=1920,height=1080,framerate=30/1 ! tee name=t t. ! queue ! videoconvert ! video/x-raw,format=RGB ,width=1920,height=1080,framerate=30/1! shmsink socket-path=/tmp/ros_mem t. ! queue ! videoconvert ! ximagesink
(python3:7342): GStreamer-CRITICAL **: gst_caps_get_size: assertion 'GST_IS_CAPS (caps)' failed
(python3:7342): GStreamer-CRITICAL **: gst_caps_get_size: assertion 'GST_IS_CAPS (caps)' failed
(python3:7342): GStreamer-CRITICAL **: gst_caps_get_structure: assertion 'index < GST_CAPS_LEN (caps)' failed
(python3:7342): GStreamer-CRITICAL **: gst_structure_get_value: assertion 'structure != NULL' failed
(python3:7342): GStreamer-CRITICAL **: gst_structure_set_value: assertion 'G_IS_VALUE (value)' failed
(python3:7342): GStreamer-CRITICAL **: gst_structure_get_value: assertion 'structure != NULL' failed
(python3:7342): GStreamer-CRITICAL **: gst_structure_set_value: assertion 'G_IS_VALUE (value)' failed
(python3:7342): GStreamer-CRITICAL **: gst_structure_get_value: assertion 'structure != NULL' failed
(python3:7342): GStreamer-CRITICAL **: gst_structure_set_value: assertion 'G_IS_VALUE (value)' failed
Press Enter to end program[ INFO] [1512085734.058685460]: Using gstreamer config from env: "shmsrc socket-path=/tmp/ros_mem ! video/x-raw-rgb, width=1920,height=1080,framerate=30/1,bpp=24,depth=24,blue_mask=16711680, green_mask=65280, red_mask=255 ! ffmpegcolorspace"
[ INFO] [1512085734.066234291]: using default calibration URL
[ INFO] [1512085734.066447095]: camera calibration URL: file:///home/nick/.ros/camera_info/camera.yaml
[ INFO] [1512085734.066766618]: Unable to open camera calibration file [/home/nick/.ros/camera_info/camera.yaml]
[ WARN] [1512085734.066896066]: Camera calibration file /home/nick/.ros/camera_info/camera.yaml not found.
[ INFO] [1512085734.067003056]: Loaded camera calibration from
[FATAL] [1512085734.075187251]: no element "shmsrc"
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 19 (8 by maintainers)
@makabe0510 Hey Makabi: After some messing around I solved the problem. It is likely cause by the lack of required gst packages. Roscam uses 0.1 (by default, it supports 1.0 in beta/experiment version too, but I didn’t mess with that) version of gst while tiscamera uses 1.0. I forgot which exact package solved the problem but here’s something that may be helpful: