Skip to content

Commit b04f607

Browse files
committed
fixed warning
1 parent a307639 commit b04f607

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

corelib/src/Rtabmap.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,10 +1544,10 @@ bool Rtabmap::process(
15441544
{
15451545
float x,y,z, roll,pitch,yaw;
15461546
t.getTranslationAndEulerAngles(x,y,z, roll,pitch,yaw);
1547-
bool isMoving = (_rgbdLinearUpdate > 0.0f) && (
1547+
bool isMoving = (_rgbdLinearUpdate > 0.0f && (
15481548
fabs(x) > _rgbdLinearUpdate ||
15491549
fabs(y) > _rgbdLinearUpdate ||
1550-
fabs(z) > _rgbdLinearUpdate) ||
1550+
fabs(z) > _rgbdLinearUpdate)) ||
15511551
(_rgbdAngularUpdate>0.0f && (
15521552
fabs(roll) > _rgbdAngularUpdate ||
15531553
fabs(pitch) > _rgbdAngularUpdate ||

0 commit comments

Comments
 (0)