RoboDK Forum
SolveIK not defined可打印版本

+- RoboDK Forum (//m.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//m.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: SolveIK not defined (/ Thread-SolveIK-not-defined)



SolveIK not defined-rocketbot-09-05-2021

I have the robolink and robodk import statements at the top of my program, but whenever I use SolveIK or SolveIK_All, I get the following error:

NameError: name 'SolveIK_All' is not defined


RE: SolveIK not defined-rocketbot-09-06-2021

Just caught my mistake. SolveIK and SolveIK_All must be called with robot.SolveIK and robot.SolveIK_All. It's working now.