Add engine internal error macro mjERROR to prepend calling function to error function.
PiperOrigin-RevId: 541584847 Change-Id: I57447e64375413ee07aa96372a402e1ced59ff4a
This commit is contained in:
committed by
Copybara-Service
parent
c9e9cd8b35
commit
ac1f41160d
@@ -287,7 +287,7 @@ mjtNum mju_wrap(mjtNum* wpnt, const mjtNum* x0, const mjtNum* x1,
|
||||
|
||||
// check object type; SHOULD NOT OCCUR
|
||||
if (type != mjWRAP_SPHERE && type != mjWRAP_CYLINDER) {
|
||||
mju_error("mju_wrap: unknown wrapping object type %d", type);
|
||||
mjERROR("unknown wrapping object type %d", type);
|
||||
}
|
||||
|
||||
// map sites to wrap object's local frame
|
||||
|
||||
Reference in New Issue
Block a user