2024-06-24 05:16:35 +08:00
|
|
|
/usr/sbin/modprobe v4l2loopback
|
2024-06-23 08:58:02 +08:00
|
|
|
# Run the GStreamer pipeline
|
|
|
|
/usr/bin/gst-launch-1.0 udpsrc address=230.1.1.1 port=1720 multicast-iface=eth0 ! queue ! application/x-rtp, media=video, \
|
2024-07-21 11:18:52 +08:00
|
|
|
encoding-name=H264 ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! v4l2sink device=/dev/video6 &
|
2024-06-23 08:58:02 +08:00
|
|
|
sleep 1
|
|
|
|
# Run the ROS image publisher node
|
2024-07-21 11:18:52 +08:00
|
|
|
/usr/bin/docker run --rm --name go2py_frontcam --privileged --network host -v /dev/*:/dev/* -v /etc/localtime:/etc/localtime:ro go2py_frontcam_publisher:latest
|