Description:
Encountering a KeyError when importing an XML model that includes an object with 4 degrees of freedom (DOFs). The issue arises when adding additional joints to the object in the pusher.xml, specifically a z-slider and a yaw-hinge, increasing the DOFs to four (x, y, z, yaw).
MWE:
To replicate the issue, I modified the pusher.xml by adding two joints to the object: a z-slider and a yaw-hinge. Below is the Python snippet used to load the modified XML and to print the degrees of freedom:
Expected Behavior:
The expected output should correctly reflect the number of degrees of freedom of the object, which in this case has been increased to four.
Actual Behavior:
The code throws a KeyError: '4', indicating an issue with handling the extended DOFs in the XML model.
Additional Information:
The issue seems to be specific to handling models with DOFs beyond the standard x, y, and z. Any guidance or fix for this issue would be greatly appreciated. Are only 1,2,3, and 6 DOFs currently supported?
Description: Encountering a
KeyError
when importing an XML model that includes an object with 4 degrees of freedom (DOFs). The issue arises when adding additional joints to the object in thepusher.xml
, specifically a z-slider and a yaw-hinge, increasing the DOFs to four (x, y, z, yaw).MWE: To replicate the issue, I modified the
pusher.xml
by adding two joints to the object: a z-slider and a yaw-hinge. Below is the Python snippet used to load the modified XML and to print the degrees of freedom:Expected Behavior: The expected output should correctly reflect the number of degrees of freedom of the object, which in this case has been increased to four.
Actual Behavior: The code throws a KeyError: '4', indicating an issue with handling the extended DOFs in the XML model.
Additional Information: The issue seems to be specific to handling models with DOFs beyond the standard x, y, and z. Any guidance or fix for this issue would be greatly appreciated. Are only 1,2,3, and 6 DOFs currently supported?
Environment: Brax version: 0.9.3 Python version: 3.8 OS: Ubuntu 20.04