Unity project file - pick and place. code error (PLEASE UPDATE the code changes)

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

還沒有人認領這個 Issue。

評估

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

研究方向

Start with the pick-and-place tutorial and inspect NiryoTrajectoryMsg.cs and TrajectoryPlanner.cs, especially the reported namespace and trajectory access lines. Reproduce the errors after using Menu > Robotic > Generate ROS messages, then compare the generated messages with the tutorial's expected code. Done means the Unity console errors are resolved and the pick-and-place tutorial runs as documented.

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

描述

Describe the bug
A clear and concise description of what the bug is.

filename = NiryoTrajectoryMsg.cs
Moveit.RobotTrajectoryMsg // (this give error)
i changed this to NiryoMoveit.NiryoTrajectoryMsg // (no error)

filename = TrajectoryPlanner.cs
foreach (var t in response.trajectories[poseIndex].joint_trajectory.points) // (this give error)

is there any update that is not reflected in the Unity Projet folder/file e.g.: the pick and place.
i am just following the instructions here - https://github.com/Unity-Technologies/Unity-Robotics-Hub/blob/main/tutorials/pick_and_place/2_ros_tcp.md

and, Unity console show errors after doing Menu -- Robotic -- Generate ROS messages

Thanks
Zul

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Console logs / stack traces
Please wrap in triple backticks (```) to make it easier to read.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots or videos to help explain your problem.

Environment (please complete the following information, where applicable):

  • Unity Version: [e.g. Unity 2020.2.0f1]
  • Unity machine OS + version: [e.g. Windows 10]
  • ROS machine OS + version: [e.g. Ubuntu 18.04, ROS Noetic]
  • ROS–Unity communication: [e.g. Docker]
  • Branch or version: [e.g. v0.2.0]

Additional context
Add any other context about the problem here.

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