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
@@ -477,7 +477,7 @@ void mju_makeFrame(mjtNum frame[9]) {
|
||||
|
||||
// normalize xaxis
|
||||
if (mju_normalize3(frame) < 0.5) {
|
||||
mju_error("xaxis of contact frame undefined");
|
||||
mjERROR("xaxis of contact frame undefined");
|
||||
}
|
||||
|
||||
// if yaxis undefined, set yaxis to (0,1,0) if possible, otherwise (0,0,1)
|
||||
|
||||
Reference in New Issue
Block a user