Skip to content

Commit

Permalink
add doc to test
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <ichen@openrobotics.org>
  • Loading branch information
iche033 committed Apr 5, 2024
1 parent 062deb7 commit 6a4862a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/common_test/kinematic_features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ TYPED_TEST(KinematicFeaturesTest, JointFrameSemantics)
EXPECT_EQ(
F_WCexpected.pose.rotation(),
childLinkFrameData.pose.rotation());

// TODO(ahcorde): Rewiew this in bullet-featherstone
if(this->PhysicsEngineName(name) == "bullet_featherstone")
{
Expand Down Expand Up @@ -189,7 +188,9 @@ using SetKinematicTestFeaturesList =

TEST_F(SetKinematicTestFeaturesList, SetKinematic)
{
// Test toggling a link between kinematic and dynamic type
// Test toggling a link between kinematic and dynamic type.
// When dynamic, the link should fall due to gravity. It should also
// stop falling when made kinematic again.
for (const std::string &name : this->pluginNames)
{
std::cout << "Testing plugin: " << name << std::endl;
Expand Down Expand Up @@ -307,6 +308,8 @@ TEST_F(SetKinematicTestFeaturesList, SetKinematic)

TEST_F(SetKinematicTestFeaturesList, SetKinematicLinksWithJoint)
{
// Load 2 kinematic links connected by a revolute joint.
// Make one of the links dynamic and verify its motion
for (const std::string &name : this->pluginNames)
{
std::cout << "Testing plugin: " << name << std::endl;
Expand Down

0 comments on commit 6a4862a

Please sign in to comment.