Skip to content

Commit

Permalink
Fix bullet test and cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
gleichdick committed Jan 26, 2021
1 parent fa3a021 commit 8b44a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion tf2_bullet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,4 @@ if(BUILD_TESTING)
endif()

ament_export_include_directories(include)
ament_export_libraries(${PROJECT_NAME})
ament_package()
4 changes: 2 additions & 2 deletions tf2_bullet/test/test_tf2_bullet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ TEST(TfBullet, ConvertTransform)

btTransform transform_bt;
tf2::convert(transform, transform_bt);
EXPECT_EQ(transform_bt.getRotation(), btQuaternion(1.0f, 0.0f, 0.0f, 0.0f));
EXPECT_EQ(transform_bt.getOrigin(), btVector3(0.0f, 0.0f, 2.0f));
EXPECT_EQ(transform_bt.getRotation(), btQuaternion(1, 0, 0, 0));
EXPECT_EQ(transform_bt.getOrigin(), btVector3(0, 0, 2));

geometry_msgs::msg::Transform transform2;
tf2::convert(transform_bt, transform2);
Expand Down

0 comments on commit 8b44a4b

Please sign in to comment.