Skip to content

Commit

Permalink
Loosen IMU acceleration IO test (#662)
Browse files Browse the repository at this point in the history
Signed-off-by: Audrow Nash <[email protected]>
  • Loading branch information
paudrow authored May 20, 2021
1 parent f2937b6 commit 78214bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_ukf_localization_node_interfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_);

Expand Down

0 comments on commit 78214bb

Please sign in to comment.