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

Aberta
#430 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
csharp, unity
Domínio
robotics

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C#
Estrelas
2.6k
Forks
473
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

  • Sem Dockerfile nem arquivo Docker Compose
  • Tem um modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Unity-Technologies/Unity-Robotics-Hub

Todas as issues de Unity-Technologies/Unity-Robotics-Hub

Issues semelhantes

Mais issues de C#

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.