Motion Planning Robotic Arm

Typically: "How do I... ", "How can I... " questions
Post Reply
Zhenshan Bing
Posts: 7
Joined: 19 Dec 2015, 23:11

Motion Planning Robotic Arm

Post by Zhenshan Bing »

Dear Admin,

I am pretty new to the motion planning function of vrep, therefore, I try to use the code in
motionPlanningAndGraspingDemo
However, it always gives me errors in function 'getConfigConfigDistance' that I can not understand. Could you have a look and give me some hints?

The robotic arm model and a scene attach:
https://www.dropbox.com/s/53v9pu69nef84 ... o.ttt?dl=0

Regards,
Zhenshan

coppelia
Site Admin
Posts: 10312
Joined: 14 Dec 2012, 00:25

Re: Motion Planning Robotic Arm

Post by coppelia »

Hello,

did you check why it gives you an error in routine getConfigConfigDistance?
There is a reason why it gives you an error. Probably one of the variables are nil. You need to find out when the initial error occurs (i.e. when a specific function returns nil instead of something else).

Cheers

Post Reply