Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional line get drawn when visualizing trough pyplot #467

Open
Borzoneg opened this issue Dec 3, 2024 · 0 comments
Open

Additional line get drawn when visualizing trough pyplot #467

Borzoneg opened this issue Dec 3, 2024 · 0 comments

Comments

@Borzoneg
Copy link

Borzoneg commented Dec 3, 2024

When visualizing the robot in the pyplot environment a line get drawn from base to the tcp of the robot. I have tried both from urdf that I have and from the tutorial (https://github.com/petercorke/robotics-toolbox-python)

To Reproduce
Steps to reproduce the behavior:

import roboticstoolbox as rtb
from spatialmath import SE3

robot = ERobot.URDF(os.environ['FLUENTLY_WS_PATH'] + "/urdf/crx20ia_l.urdf", gripper="tcp")
# or 
robot = rtb.models.Panda() 

Tep = SE3.Trans(0.6, -0.3, 0.1) * SE3.OA([0, 1, 0], [0, 0, -1])
sol = robot.ik_LM(Tep)         # solve IK
q_pickup = sol[0]
qt = rtb.jtraj(robot.qr, q_pickup, 50)
robot.plot(qt.q, backend='pyplot', movie='panda1.gif')

Screenshot from 2024-12-03 16-23-52

Expected behavior
A visualization of the robot appears on screen

  • roboticstoolbox-python==1.1.1
  • matplotlib==3.5.1
  • spatialgeometry==1.1.0
  • spatialmath-python==1.1.11
  • OS: Ubuntu 22.04.5
  • Python version: 3.10.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant