diff --git a/Migration.md b/Migration.md index bbf3b5979..1ba10768d 100644 --- a/Migration.md +++ b/Migration.md @@ -5,6 +5,13 @@ Deprecated code produces compile-time warnings. These warning serve as notification to users that their code should be upgraded. The next major release will remove the deprecated code. +## Gazebo Physics 8.X to 9.X + +### Deprecations + +* The macro `GZ_PHYSICS_ENGINE_INSTALL_DIR` has been removed. Use +`gz::physics::getEngineInstallDir()` instead. + ## Gazebo Physics 5.X to 6.X ### Deprecations diff --git a/dartsim/src/SDFFeatures_TEST.cc b/dartsim/src/SDFFeatures_TEST.cc index 613bb8144..c88c1c56c 100644 --- a/dartsim/src/SDFFeatures_TEST.cc +++ b/dartsim/src/SDFFeatures_TEST.cc @@ -361,17 +361,6 @@ TEST_P(SDFFeatures_TEST, CheckDartsimData) std::numeric_limits::infinity(), std::numeric_limits::infinity()); - /// \todo (anyone) getBodyNode("blah")->getFrictionCoeff is deprecated, - /// disabling these tests. - /* - EXPECT_DOUBLE_EQ(1.1, skeleton->getBodyNode("base")->getFrictionCoeff()); - // The last collision element overwrites the value set by previous collision - // elements. We expect mu=1, the default value, instead of 0.1. - EXPECT_DOUBLE_EQ(1, skeleton->getBodyNode("upper_link")->getFrictionCoeff()); - // Gets the default value when the tag is missing - EXPECT_DOUBLE_EQ(1, skeleton->getBodyNode("lower_link")->getFrictionCoeff()); - */ - for (const auto * joint : {skeleton->getJoint(1), skeleton->getJoint(2)}) { const auto * revolute = diff --git a/include/gz/physics/config.hh.in b/include/gz/physics/config.hh.in index 332fb10e4..b8c590a3c 100644 --- a/include/gz/physics/config.hh.in +++ b/include/gz/physics/config.hh.in @@ -29,8 +29,6 @@ #define GZ_PHYSICS_VERSION_FULL "${PROJECT_VERSION_FULL}" #define GZ_PHYSICS_VERSION_NAMESPACE v${PROJECT_VERSION_MAJOR} -#define GZ_PHYSICS_ENGINE_INSTALL_DIR _Pragma ("GCC warning \"'GZ_PHYSICS_ENGINE_INSTALL_DIR' macro is deprecated, use gz::physics::getEngineInstallDir() function instead. \"") "${GZ_PHYSICS_ENGINE_INSTALL_DIR}" - #define GZ_PHYSICS_VERSION_HEADER "Gazebo Physics, version ${PROJECT_VERSION_FULL}\nCopyright (C) 2017 Open Source Robotics Foundation.\nReleased under the Apache 2.0 License.\n\n" #endif