ros_unity_integration tf message no module error on docker container setup for both melodic and noetic.

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

還沒有人認領這個 Issue。

評估

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

研究方向

Start with the ros_unity_integration setup.md tutorial and reproduce the stated docker run command for melodic and noetic. Trace the tf2_msgs.msg resolution error and the Unity ROSConnection receive path at Library/PackageCache/com.unity.robotics.ros-tcp-connector@c27f00c6cf/Runtime/TcpConnector/ROSConnection.cs; done means the container resolves tf2_msgs and Unity accepts tf2_msgs/TFMessage.

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

描述

i have started sudo docker run -it --rm -p 10000:10000 noetic /bin/bash comand as following tutorial said ros_unity_integration

ros connection connecting but gives no module found error.
[INFO] [1720382717.236804]: Starting server on 0.0.0.0:10000
[INFO] [1720382718.180484]: Connection from 172.17.0.1
[ERROR] [1720382718.184892]: Failed to resolve message name: No module named tf2_msgs.msg

and also unity side gives
SysCommand.subscribe - Unknown message class 'tf2_msgs/TFMessage'
UnityEngine.Debug:LogError (object)
Unity.Robotics.ROSTCPConnector.ROSConnection:ReceiveSysCommand (string,string) (at ./Library/PackageCache/com.unity.robotics.ros-tcp-connector@c27f00c6cf/Runtime/TcpConnector/ROSConnection.cs:680)
Unity.Robotics.ROSTCPConnector.ROSConnection:Update () (at ./Library/PackageCache/com.unity.robotics.ros-tcp-connector@c27f00c6cf/Runtime/TcpConnector/ROSConnection.cs:587)

What is wrong? Does anyone have suggestion?

主要語言
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 摘要。