---
title: "Đức Trần (@TranDuc) | Hashnode"
description: "Đức Trần (@TranDuc) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@TranDuc"
---

@TranDuc

# Đức Trần

@TranDuc · Joined November 2023

## Comments

[dạ anh ơi, khi chạy lệnh rosrun my\_cam image\_publisher.py thì máy em báo lỗi như thế này Image is being published to the topic /image\_raw ... \[ WARN:0\] global ../modules/videoio/src/cap\_gstreamer.cpp (1758) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module source reported: Could not read from resource. \[ WARN:0\] global ../modules/videoio/src/cap\_gstreamer.cpp (888) open OpenCV | GStreamer warning: unable to start pipeline \[ WARN:0\] global ../modules/videoio/src/cap\_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created Traceback (most recent call last): File "/home/ducmatau/catkin\_ws/src/my\_cam/image\_publisher.py", line 30, in <module> publish\_image() File "/home/ducmatau/catkin\_ws/src/my\_cam/image\_publisher.py", line 18, in publish\_image rospy.ERROR() TypeError: 'int' object is not callable. Anh cho em hỏi làm thế nào để fix ạ, em cảm ơn](https://hashnode.com/posts/tao-ros-publisher/63b748774d6da3dbcf4351c4/comment/65631726585e979b362f291e)

Comment · Article · Nov 26, 2023 · [7\. Tạo một ROS Publisher](https://hashnode.com/posts/tao-ros-publisher/63b748774d6da3dbcf4351c4)
