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 » 08 Dec 2017, 08:08

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: 6266
Joined: 14 Dec 2012, 00:25

Re: Motion Planning Robotic Arm

Post by coppelia » 10 Dec 2017, 21:54

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