Error on sim.rmlMoveToJointPositions

Typically: "How do I... ", "How can I... " questions
Post Reply
m_jau
Posts: 16
Joined: 09 Apr 2020, 12:44

Error on sim.rmlMoveToJointPositions

Post by m_jau »

I run the same Program for 50 times. on the begin i bring the robot to the JointPos and it works.
After the Second or third time the function returns a -1.
Is there a options to debug and find the reason why returns a -1 ?

Thanks.

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

Re: Error on sim.rmlMoveToJointPositions

Post by coppelia »

Hello,

it is very difficult to guess what is happeining in your simulation, let alone guess what kind of simulation/set-up you have.
Did you try to print some variable from within your code?
You can also use the assert directive to trigger an error when some specific conditions are met/not met.

Cheers

Post Reply