Fixed Too large rotation detected message

This commit is contained in:
matlabbe
2020-08-21 15:57:28 -04:00
parent f263d560b4
commit 775c9318d3

View File

@@ -3002,7 +3002,7 @@ Transform Memory::computeTransform(
{ {
transform.setNull(); transform.setNull();
std::string msg = uFormat("Too large rotation detected! (pitch=%f, yaw=%f) max is %f", std::string msg = uFormat("Too large rotation detected! (pitch=%f, yaw=%f) max is %f",
roll, pitch, yaw, CV_PI/2); pitch, yaw, CV_PI/2);
UINFO(msg.c_str()); UINFO(msg.c_str());
if(info) if(info)
{ {