How getvelocity function works ?
I wanted to get the velocity of a joint of my model using GetVelocity() function but can anyone tell me how to use this function. I saw this link http://osrf-distributions.s3.amazonaws.com/gazebo/api/dev/classgazebo11physics11Joint.html Here I found the description but I am still not able to figure out how it works because they have mentioned that in parameters you have to give int value but how can I tell gazebo which joint's velocity do I need to know in this way? Shouldn't I give the whole name of the joint ?