Repository navigation
Replies: 4 comments 3 replies
|
I have the same problem. Have you solved it? |
0 replies
|
When I run it in terminal, it works!!! |
1 reply
|
But i can't run it in the pycharm professional edition |
2 replies
|
Thank you for your interest in RTB. This is from 2021, and the graphics have changed a lot since, so I'm closing it as outdated. If a figure still doesn't show in PyCharm with a current release, please open an Issue with the version and how you run it, and I'll look. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,guys,when i run this code in my pycharm,i can't see the image in my sciview,but others can.It confuse me for three days.Pls help me!
this is my code.
import roboticstoolbox as rtb
from spatialmath import SE3
robot = rtb.models.DH.Panda()
print(robot)
T = robot.fkine(robot.qz) # forward kinematics
print(T)
T = SE3(0.7, 0.2, 0.1) * SE3.OA([0, 1, 0], [0, 0, -1])
sol = robot.ikine_LM(T) # solve IK
print(sol)
robot = rtb.models.DH.Panda()
print(robot)
T = robot.fkine(robot.qz) # forward kinematics
print(T)
T = SE3(0.7, 0.2, 0.1) * SE3.OA([0, 1, 0], [0, 0, -1])
sol = robot.ikine_LM(T)
solve IK
print(sol)
q_pickup = sol.q
print(robot.fkine(q_pickup))
FK shows that desired end-effector pose was achieved
qt = rtb.jtraj(robot.qz, q_pickup, 50)
robot.plot(qt.q, movie='panda1.gif')
I uplord the photo which show my pycharm
All reactions