RosPublisherExample gives warning in ROS2 Humble
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- networking, robotics
Hướng nghiên cứu
Start by reproducing the warning with RosPublisherExample.cs and ros_tcp_endpoint's default_server_endpoint using the versions and Docker setup listed in the issue. Inspect the two RegisterPublisher calls and related ROS2 logging, then verify the example produces one INFO RegisterPublisher log without the duplicate-node warning.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description of the bug
Publishing the example PosRot message from the unity_robotics_demo_msgs package using ROS2 gives warning log.
To Reproduce
Steps to reproduce the behavior:
- Run up ros_tcp_endpoint version 0.7 and launch with default config e.g.
ROS_IP=0.0.0.0port 10000. - Start the RosPublisherExample in a Unity project.
Console logs
root@78932a399808:/ros2_ws# ros2 run ros_tcp_endpoint default_server_endpoint --ros-args -p ROS_IP:=0.0.0.0
[INFO] [1655364893.499026344] [UnityEndpoint]: Starting server on 0.0.0.0:10000
[INFO] [1655364914.368200902] [UnityEndpoint]: Connection from 172.19.0.1
[INFO] [1655364914.540648798] [UnityEndpoint]: RegisterSubscriber(/tf, <class 'tf2_msgs.msg._tf_message.TFMessage'>) OK
[INFO] [1655364914.547903045] [UnityEndpoint]: RegisterPublisher(pos_rot, <class 'unity_robotics_demo_msgs.msg._pos_rot.PosRot'>) OK
[WARN] [1655364914.548093382] [rcl.logging_rosout]: Publisher already registered for provided node name. If this is due to multiple nodes with the same name then all logs for that logger name will go out over the existing publisher. As soon as any node with that name is destructed it will unregister the publisher, preventing any further logs for that name from being published on the rosout topic.
[INFO] [1655364914.552324273] [UnityEndpoint]: RegisterPublisher(pos_rot, <class 'unity_robotics_demo_msgs.msg._pos_rot.PosRot'>) OK
Expected behavior
A clear and concise description of what you expected to happen.
A single INFO RegisterPublisher log without a warning.
Screenshot

Environment
- Unity Version: Unity 2020.3.19f1
- Unity machine OS + version: Windows 11
- ROS machine OS + version: Ubuntu 20.04, ROS2 Humble
- ROS–Unity communication: Docker
- Branch or version: v0.7.0
- Ngôn ngữ chính
- C#
- Star
- 2.6k
- Fork
- 473
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Unity-Technologies/Unity-Robotics-Hub
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
ROS2,ActionĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Is the project deprecated?Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
-
Force/Torque sensorĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Unity-Technologies/Unity-Robotics-Hub#433 · 1 bình luận ·
Tất cả issue của Unity-Technologies/Unity-Robotics-Hub
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
umbraco/Umbraco.Automate#612 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
崩溃日志只按 CRLF 分行Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PCL-Community/PCL-CE#3872 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type:task ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elsa-workflows/elsa-foundation#5253 ·
Maintainer thường phản hồi trong vòng 1 ngày