Add a pose to the Pick and Place Trajectory Planner

Aberta
#370 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

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

Direção de pesquisa

Start with the Unity Robotics Hub Pick and Place tutorial and inspect the trajectory planner's pose sequence and articulation-body control. Determine how the initial pose is represented and whether the requested return action belongs in the sequence or behind a separate button. Done means the robot reliably returns to its original pose.

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

Descrição

Hi guys,
First of all it is needed to sey that I am new to programming with just some basic knowledge in C#, Python and C++.
I am working on the Unity Robotics Hub's Pick and Place tutorial and I would like to add another pose to the sequence (the initial one) so to make the robot came back to its original position. I have no clue on how to do that so any kind of info or starting point would be appreciated and a step by step solution would be loved.
Making a new button to make the robot came back not in sequence with the other pose would be even better but I do not know if that is harder/easier/possible at all.

By now i have tried to do it without using movit but with just a C# script:

`using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Threading;

public class SnapToPosition : MonoBehaviour
{
private Vector3 snapPosition;
private Quaternion originalRotationValue;
float rotationResetSpeed = 1.0f;

 private void Start()
 {
     snapPosition = this.transform.position;
     originalRotationValue = transform.rotation;
 }

 public void MoveObject ()
 {
     this.transform.position = snapPosition;
     transform.rotation = Quaternion.Slerp(transform.rotation, originalRotationValue, Time.time * rotationResetSpeed); 
     
 }

}`

This does not work properly as it change the position of the body just for a second and only if the button is clicked continuously and suddenly cames back in the end pose of the pick and place. Not sure to have expressed myselfe properly but it is difficult to describes it. The importan point is that the button does not work and as I understand that is due to the articulation body properties. This i why I suppose tha it is necessary to pass through MoveIt
Thanks for your help.

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.