@@ -178,12 +178,12 @@ TEST(UtilityTest, ConvertMsgsPlaneToMath)
178178// ///////////////////////////////////////////////
179179TEST (MsgsTest, ConvertMathInertialToMsgs)
180180{
181- const auto pose = ignition:: math::Pose3d (5 , 6 , 7 , 0.4 , 0.5 , 0.6 );
181+ const auto pose = math::Pose3d (5 , 6 , 7 , 0.4 , 0.5 , 0.6 );
182182 msgs::Inertial msg = msgs::Convert (
183- ignition:: math::Inertiald (
184- ignition:: math::MassMatrix3d (12.0 ,
185- ignition:: math::Vector3d (2 , 3 , 4 ),
186- ignition:: math::Vector3d (0.1 , 0.2 , 0.3 )),
183+ math::Inertiald (
184+ math::MassMatrix3d (12.0 ,
185+ math::Vector3d (2 , 3 , 4 ),
186+ math::Vector3d (0.1 , 0.2 , 0.3 )),
187187 pose));
188188
189189 EXPECT_DOUBLE_EQ (12.0 , msg.mass ());
@@ -199,12 +199,12 @@ TEST(MsgsTest, ConvertMathInertialToMsgs)
199199// ///////////////////////////////////////////////
200200TEST (MsgsTest, ConvertMsgsInertialToMath)
201201{
202- const auto pose = ignition:: math::Pose3d (5 , 6 , 7 , 0.4 , 0.5 , 0.6 );
202+ const auto pose = math::Pose3d (5 , 6 , 7 , 0.4 , 0.5 , 0.6 );
203203 msgs::Inertial msg = msgs::Convert (
204- ignition:: math::Inertiald (
205- ignition:: math::MassMatrix3d (12.0 ,
206- ignition:: math::Vector3d (2 , 3 , 4 ),
207- ignition:: math::Vector3d (0.1 , 0.2 , 0.3 )),
204+ math::Inertiald (
205+ math::MassMatrix3d (12.0 ,
206+ math::Vector3d (2 , 3 , 4 ),
207+ math::Vector3d (0.1 , 0.2 , 0.3 )),
208208 pose));
209209 auto inertial = msgs::Convert (msg);
210210
@@ -222,9 +222,9 @@ TEST(MsgsTest, ConvertMsgsInertialToMath)
222222TEST (MsgsTest, ConvertMathMassMatrix3ToMsgs)
223223{
224224 msgs::Inertial msg = msgs::Convert (
225- ignition:: math::MassMatrix3d (12.0 ,
226- ignition:: math::Vector3d (2 , 3 , 4 ),
227- ignition:: math::Vector3d (0.1 , 0.2 , 0.3 )));
225+ math::MassMatrix3d (12.0 ,
226+ math::Vector3d (2 , 3 , 4 ),
227+ math::Vector3d (0.1 , 0.2 , 0.3 )));
228228
229229 EXPECT_DOUBLE_EQ (12.0 , msg.mass ());
230230 EXPECT_DOUBLE_EQ (2.0 , msg.ixx ());
@@ -233,7 +233,7 @@ TEST(MsgsTest, ConvertMathMassMatrix3ToMsgs)
233233 EXPECT_DOUBLE_EQ (0.1 , msg.ixy ());
234234 EXPECT_DOUBLE_EQ (0.2 , msg.ixz ());
235235 EXPECT_DOUBLE_EQ (0.3 , msg.iyz ());
236- EXPECT_EQ (ignition:: math::Pose3d::Zero, msgs::Convert (msg.pose ()));
236+ EXPECT_EQ (math::Pose3d::Zero, msgs::Convert (msg.pose ()));
237237}
238238
239239// ///////////////////////////////////////////////
@@ -522,13 +522,13 @@ TEST(UtilityTest, SetPlane)
522522// ///////////////////////////////////////////////
523523TEST (MsgsTest, SetInertial)
524524{
525- const auto pose = ignition:: math::Pose3d (5 , 6 , 7 , 0.4 , 0.5 , 0.6 );
525+ const auto pose = math::Pose3d (5 , 6 , 7 , 0.4 , 0.5 , 0.6 );
526526 msgs::Inertial msg;
527- msgs::Set (&msg, ignition:: math::Inertiald (
528- ignition:: math::MassMatrix3d (
527+ msgs::Set (&msg, math::Inertiald (
528+ math::MassMatrix3d (
529529 12.0 ,
530- ignition:: math::Vector3d (2 , 3 , 4 ),
531- ignition:: math::Vector3d (0.1 , 0.2 , 0.3 )),
530+ math::Vector3d (2 , 3 , 4 ),
531+ math::Vector3d (0.1 , 0.2 , 0.3 )),
532532 pose));
533533
534534 EXPECT_DOUBLE_EQ (12.0 , msg.mass ());
@@ -545,10 +545,10 @@ TEST(MsgsTest, SetInertial)
545545TEST (MsgsTest, SetMassMatrix3)
546546{
547547 msgs::Inertial msg;
548- msgs::Set (&msg, ignition:: math::MassMatrix3d (
548+ msgs::Set (&msg, math::MassMatrix3d (
549549 12.0 ,
550- ignition:: math::Vector3d (2 , 3 , 4 ),
551- ignition:: math::Vector3d (0.1 , 0.2 , 0.3 )));
550+ math::Vector3d (2 , 3 , 4 ),
551+ math::Vector3d (0.1 , 0.2 , 0.3 )));
552552
553553 EXPECT_DOUBLE_EQ (12.0 , msg.mass ());
554554 EXPECT_DOUBLE_EQ (2.0 , msg.ixx ());
@@ -557,7 +557,7 @@ TEST(MsgsTest, SetMassMatrix3)
557557 EXPECT_DOUBLE_EQ (0.1 , msg.ixy ());
558558 EXPECT_DOUBLE_EQ (0.2 , msg.ixz ());
559559 EXPECT_DOUBLE_EQ (0.3 , msg.iyz ());
560- EXPECT_EQ (ignition:: math::Pose3d::Zero, msgs::Convert (msg.pose ()));
560+ EXPECT_EQ (math::Pose3d::Zero, msgs::Convert (msg.pose ()));
561561}
562562
563563// ///////////////////////////////////////////////
0 commit comments