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
@@ -498,6 +498,14 @@ void mjs_setFrame(mjElement dest, mjsFrame* frame) {
|
||||
|
||||
|
||||
|
||||
// Resolve alternative orientations.
|
||||
const char* mjs_resolveOrientation(double quat[4], mjtByte degree, const char* sequence,
|
||||
const mjsOrientation* orientation) {
|
||||
return ResolveOrientation(quat, degree, sequence, *orientation);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// get id
|
||||
int mjs_getId(mjElement element) {
|
||||
return reinterpret_cast<mjCBase*>(element)->id;
|
||||
|
||||
Reference in New Issue
Block a user