"unknown message class 'unity_robotics_demo_msgs/PosRot'"

Đang mở
#406 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
csharp, unity
Lĩnh vực
robotics, tooling

Hướng nghiên cứu

Start with the cube tutorial and the generated PosRotMsg.cs file, especially lines 11–14 and the Robotics > Generate ROS messages workflow. Reproduce the error when entering Play mode and trace why unity_robotics_demo_msgs/PosRot is not recognized. Done means the tutorial publishes the orientation without the unknown message class error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hi,

I followed the tutorial presented within this repo to reproduce the cube example in which it rotates and publishes the orientation to my ROS terminal. When I finally hit play, the error message reads "unknown message class 'unity_robotics_demo_msgs/PosRot'". This is the name of the message within PosRotMsg.cs generated by Unity when I build my ROS messages with the tool in the "Robotics>Generate ROS messages" tool. See lines 11 thru 14 of PosRotMsg.cs below:

public class PosRotMsg : Message
{
public const string k_RosMessageName = "unity_robotics_demo_msgs/PosRot";
public override string RosMessageName => k_RosMessageName;

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Unity-Technologies/Unity-Robotics-Hub

Tất cả issue của Unity-Technologies/Unity-Robotics-Hub

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.