Typically: "How do I... ", "How can I... " questions
- Site Admin
- Posts: 8516
- Joined: 14 Dec 2012, 00:25
the function doesn't return that, since it is never called. You are printing velCorrectionFactor
We recommend to move to CoppeliaSim V4.2.0+, then you will be able to handle all kinematic tasks programmatically and you'll be much more flexible. Also, all IK functions
will then be grouped under the simIK namespace.
- Posts: 3
- Joined: 01 Apr 2021, 00:56
I updated to version 4.20, and am attempting to use simIK.generatePath now. It returns an error that traces back to simIK.lua:
Here's the full error:
Code: Select all
[Bob@childScript:error] 369: Invalid joint handle: 43 (in function 'simIK.getJointPosition@simExtIK')
[C]: in function 'simIK.getJointPosition'
...gram Files/CoppeliaRobotics/CoppeliaSimEdu/lua/simIK.lua:369: in function 'simIK.generatePath'
[string "Bob@childScript"]:187: in function 'moveIK'
[string "Bob@childScript"]:82: in function 'coroutineMain'
[C]: in function 'error'
[string "Bob@childScript"]:9: in function 'sysCall_actuation'
OMPL functions still work fine, sim.generateIkPath works inconsistently, simIK.generatePath has not worked.
https://drive.google.com/file/d/1iT5wUY ... sp=sharing