I am new to coppeliasim. and have just tried the IK toturial up to now.
currently I'm trying to work with the irb 360 parallel robot from the model library
I'm trying to get the 'ikTip' dummy handle from Matlab.
somehow the returned handle number is 0.
same for 'drivingJoint1..3'
at the client side im using the legacy API: simxGetObjectHandle (deprecated)
Code: Select all
[~, Tip] = sim.simxGetObjectHandle(clientID, 'ikTip', sim.simx_opmode_blocking);
[~, Joint1] = sim.simxGetObjectHandle(clientID, 'drivingJoint1', sim.simx_opmode_blocking);
[~, Joint2] = sim.simxGetObjectHandle(clientID, 'drivingJoint2', sim.simx_opmode_blocking);
[~, Joint3] = sim.simxGetObjectHandle(clientID, 'drivingJoint3', sim.simx_opmode_blocking);
Code: Select all
[~, Tip] = sim.simxGetObjectHandle(clientID, 'irb 360', sim.simx_opmode_blocking);
what do i miss there?
* i have changed the built in child script for the model.
changed the threaded script to actuation, and moved the kinematic chain generation script to the init function.
(also changed the requiered local parameters to be global)
* i have ran it at the new structure i have made, and it worked well as with the original script
* then i removed the main route script and left the initial positioning intact.