Open dellaert opened 3 years ago
A good solution would be to (a), make sure the numbers are the same, and (b) make the name a proper string as in "joint-7".
The name is some arbitrary string right? For the vision60
, we have a joints named 10
, 8
, etc, but for the laikago
, we have joints named FR_hip_joint
, FR_calf_joint
etc.
Ensuring the numbers are the same would have to be done on a case-by-case basis, or involve some checks to see if the name is just a number. An alternative solution would be to just update the URDF file directly and give the joints more descriptive names.
When I print the Vision60, the joints are listed as below. Clearly, the name in the SDF is already a number, but we seem to invent our own, non-matching number :-)