Home | Tutorials | Wiki | Issues
Ask Your Question
0

How to get the value of "_index" used in gazebo::physics::Joint Class

asked 2013-05-23 09:31:37 -0600

Sway gravatar image

In class "Joint",lots of Public Member Functions need the "index" as a Parameter.How can I get its value?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-05-23 10:15:54 -0600

AndreiHaidu gravatar image

Because the joint connects two links, one being the child and the other the parent, this can be (0, 1), where index = 0 it is the child link and index = 1 it is the parent link.

Cheers, Andrei

edit flag offensive delete link more
0

answered 2013-05-23 11:18:56 -0600

hsu gravatar image

if it's not documented clearly in the API documentation, please file a ticket on the issue tracker.

Thanks!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-05-23 09:31:37 -0600

Seen: 185 times

Last updated: May 23 '13