Skip to content

Commit

Permalink
Fix typo in trajectory cache utils test
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <methylDragon@gmail.com>
  • Loading branch information
methylDragon committed Oct 22, 2024
1 parent a70b660 commit ff61b50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions moveit_ros/trajectory_cache/test/utils/test_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,10 @@ TEST_F(WarehouseFixture, QueryAppendCenterWithToleranceWorks)

Metadata::Ptr metadata = coll.createMetadata();
metadata->append("test_metadata", 5.0);
metadata->append("unrelated_metadata", 1.0);
coll.insert(geometry_msgs::msg::Point(), metadata);

Query::Ptr unrelated_query = coll.createQuery();
moveit_ros::trajectory_cache::queryAppendCenterWithTolerance(*unrelated_query, "unrnelated_metadata", 1.0, 10.0);
moveit_ros::trajectory_cache::queryAppendCenterWithTolerance(*unrelated_query, "unrelated_metadata", 1.0, 10.0);
EXPECT_TRUE(coll.queryList(unrelated_query).empty());

Query::Ptr related_query_too_low = coll.createQuery();
Expand Down

0 comments on commit ff61b50

Please sign in to comment.