Remove mjCAlternative and user_objects dependency from xml_urdf.
PiperOrigin-RevId: 618832482 Change-Id: I626bb956cd3eb35317811b9b577cc7db128262ea
This commit is contained in:
committed by
Copybara-Service
parent
7875e93fea
commit
357ff8bbdc
@@ -75,6 +75,13 @@ void mjs_defaultSpec(mjSpec& model) {
|
||||
|
||||
|
||||
|
||||
// default orientation attributes
|
||||
void mjs_defaultOrientation(mjsOrientation& orient) {
|
||||
orient.axisangle[0] = orient.xyaxes[0] = orient.zaxis[0] = orient.euler[0] = mjNAN;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// default body attributes
|
||||
void mjs_defaultBody(mjsBody& body) {
|
||||
memset(&body, 0, sizeof(mjsBody));
|
||||
|
||||
Reference in New Issue
Block a user