borglab / GTDynamics

Full kinodynamics constraints for arbitrary robot configurations with factor graphs.
BSD 2-Clause "Simplified" License
40 stars 10 forks source link

fix jointIndex syntax error #353

Closed devarsirawal closed 2 years ago

devarsirawal commented 2 years ago

Hi all! I noticed there was a small syntax error in sim.py when I was running python kinematic_mp_sim.py for the quadruped. I was getting TypeError: function missing required argument 'bodyIndex' (pos 1) and noticed that the bodyindex param did not have the right capitalization, so here's a quick fix.

varunagrawal commented 2 years ago

I don't understand something, the PR comment says bodyIndex but the change is jointIndex. Can someone explain?

devarsirawal commented 2 years ago

I can see the confusion and I'm honestly not quite sure where bodyIndex came from... I think I had handwritten that error message and just made a typo in the PR comment.