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

Abierto
#430 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
csharp, unity
Área
robotics

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C#
Estrellas
2.6k
Forks
473
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Unity-Technologies/Unity-Robotics-Hub

Todos los issues de Unity-Technologies/Unity-Robotics-Hub

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.