Skip to content

Commit

Permalink
gz for new tests
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed May 28, 2022
1 parent 0e10296 commit 30097ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/joint_dom.cc
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ TEST(DOMJoint, Sensors)
EXPECT_EQ("joint", joint->Name());
EXPECT_EQ(1u, joint->SensorCount());

ignition::math::Pose3d pose;
gz::math::Pose3d pose;
// Get the force_torque sensor
const sdf::Sensor *forceTorqueSensor =
joint->SensorByName("force_torque_sensor");
Expand All @@ -989,9 +989,9 @@ TEST(DOMJoint, Sensors)
forceTorqueSensor->RawPose());
EXPECT_TRUE(
forceTorqueSensor->SemanticPose().Resolve(pose, "__model__").empty());
EXPECT_EQ(ignition::math::Pose3d(10, 11, 12, 0, 0, 0), pose);
EXPECT_EQ(gz::math::Pose3d(10, 11, 12, 0, 0, 0), pose);
EXPECT_TRUE(forceTorqueSensor->SemanticPose().Resolve(pose).empty());
EXPECT_EQ(ignition::math::Pose3d(10, 11, 12, 0, 0, 0), pose);
EXPECT_EQ(gz::math::Pose3d(10, 11, 12, 0, 0, 0), pose);

auto forceTorqueSensorObj = forceTorqueSensor->ForceTorqueSensor();
ASSERT_NE(nullptr, forceTorqueSensorObj);
Expand Down

0 comments on commit 30097ef

Please sign in to comment.