"unknown message class 'unity_robotics_demo_msgs/PosRot'"

未關閉
#406 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
csharp, unity
領域
robotics, tooling

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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;

主要語言
C#
星號
2.6k
分支
473
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

Unity-Technologies/Unity-Robotics-Hub 的其他 Issue

查看 Unity-Technologies/Unity-Robotics-Hub 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。