From 78214bb1951eb7e5d54fac81b723de53f0b621b6 Mon Sep 17 00:00:00 2001 From: Audrow Nash Date: Thu, 20 May 2021 03:32:00 -0700 Subject: [PATCH] Loosen IMU acceleration IO test (#662) Signed-off-by: Audrow Nash --- test/test_ukf_localization_node_interfaces.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_ukf_localization_node_interfaces.cpp b/test/test_ukf_localization_node_interfaces.cpp index 6efb4dc79..a5afa24e6 100644 --- a/test/test_ukf_localization_node_interfaces.cpp +++ b/test/test_ukf_localization_node_interfaces.cpp @@ -760,9 +760,9 @@ TEST(InterfacesTest, ImuAccBasicIO) { rclcpp::spin_some(node_); } - EXPECT_LT(::fabs(filtered_.pose.pose.position.x - 1.8), 0.4); - EXPECT_LT(::fabs(filtered_.pose.pose.position.y + 1.8), 0.4); - EXPECT_LT(::fabs(filtered_.pose.pose.position.z - 1.8), 0.4); + EXPECT_LT(::fabs(filtered_.pose.pose.position.x - 1.8), 0.6); + EXPECT_LT(::fabs(filtered_.pose.pose.position.y + 1.8), 0.6); + EXPECT_LT(::fabs(filtered_.pose.pose.position.z - 1.8), 0.6); resetFilter(node_);