Forum

Camera simulation – Frame not reachable

Início Fóruns Temas ou Discussões Camera simulation – Frame not reachable

A visualizar 3 artigos - de 1 a 3 (de um total de 3)
  • Autor
    Artigos
  • roboterly
    Convidado
    Número de artigos: 172

    this piece of code should help:

    Code:
    # ———– place the box i on the convegor ——
    # approach to the conveyor
    robot.setPoseFrame(null_position_holder)
    robot.MoveJ(target_null_safe)
    robot.MoveL(eye()*roty(-pi))

    You were applying the distance between the robot base and the NullPositionHolder frame twice.
    Once with the setPoseFrame and once with the motion. The pose you were trying to reach was therefore twice as far.

    nushka
    Convidado
    Número de artigos: 172

    hi

    Thanks for your fast reply! In what lines did I added the distance twice? Jus to learn from.

    roboterly
    Convidado
    Número de artigos: 172

    85 – 86

    85 -> You set the frame, so the new (0,0,0) is where the frame is.
    86 -> You take the frame position with respect to its parent, which represents the same translation as what you did on line 85.

A visualizar 3 artigos - de 1 a 3 (de um total de 3)
  • Tem de iniciar sessão para responder a este tópico.

Início Fóruns Temas ou Discussões Camera simulation – Frame not reachable