Open ajoardar007 opened 2 weeks ago
try joint.dclass = ''
?
That will not remove the entry. It looks like it is a required field and it will be populated regardless.
The same holds true for the field name
under geom
: some places I have given a name, while at others I did not provide.
In essence, my feedback for further improvement would be to:
class
and mesh
, to make them unique when having the same user-provided value does not violate MuJoCo naming-paradigm.It would also be great if we can turn-off the auto-appending of names of the previous bodies in a kinematic-chain onto the next connected-body's name if the authors are taking care to keep the names unique (as natively required by MuJoCo). This scripts allows us to treat the building of kinemaic-chains as function-calls, like xacro
-files for Gazebo; and, just like xacro
-files, we can send custom-prefix's over a function-call to keep names unique whenever required.
Hello,
I am trying to remove
class
attributes as it is unnecessary for joints in my use-case.When I try to use the
del
command example:, I get the following error:
I need to remove the custom-named classes that the script generates as MuJoCo 2.2.x (Ubuntu 20.04) gives me errors when it is presented with:
, but not with this: