diff --git a/test/integration/velocity_control_system.cc b/test/integration/velocity_control_system.cc index b34c102bd0..5eb7722440 100644 --- a/test/integration/velocity_control_system.cc +++ b/test/integration/velocity_control_system.cc @@ -149,7 +149,8 @@ class VelocityControlTest : public ::testing::TestWithParam std::vector modelPoses; std::vector linkPoses; - testSystem.OnPostUpdate([&linkPoses, &modelPoses](const gazebo::UpdateInfo &, + testSystem.OnPostUpdate([&linkPoses, &modelPoses]( + const gazebo::UpdateInfo &, const gazebo::EntityComponentManager &_ecm) { auto modelId = _ecm.EntityByComponents( @@ -228,7 +229,8 @@ class VelocityControlTest : public ::testing::TestWithParam linkPoses[i-1].Rot().Euler().X(), 1e-5) << i; EXPECT_NEAR(linkPoses[i].Rot().Euler().Y(), linkPoses[i-1].Rot().Euler().Y(), 1e-5) << i; - EXPECT_GT(linkPoses[i].Rot().Euler().Z(), linkPoses[i-1].Rot().Euler().Z()) << i; + EXPECT_GT(linkPoses[i].Rot().Euler().Z(), + linkPoses[i-1].Rot().Euler().Z()) << i; } } };