Skip to content

Commit 8d1e74d

Browse files
authored
Remove deprecations: tock (#705)
* Remove deprecations: tock Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
1 parent 1bfdcbe commit 8d1e74d

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

Migration.md

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ Deprecated code produces compile-time warnings. These warning serve as
55
notification to users that their code should be upgraded. The next major
66
release will remove the deprecated code.
77

8+
## Gazebo Physics 8.X to 9.X
9+
10+
### Deprecations
11+
12+
* The macro `GZ_PHYSICS_ENGINE_INSTALL_DIR` has been removed. Use
13+
`gz::physics::getEngineInstallDir()` instead.
14+
815
## Gazebo Physics 5.X to 6.X
916

1017
### Deprecations

dartsim/src/SDFFeatures_TEST.cc

-11
Original file line numberDiff line numberDiff line change
@@ -361,17 +361,6 @@ TEST_P(SDFFeatures_TEST, CheckDartsimData)
361361
std::numeric_limits<double>::infinity(),
362362
std::numeric_limits<double>::infinity());
363363

364-
/// \todo (anyone) getBodyNode("blah")->getFrictionCoeff is deprecated,
365-
/// disabling these tests.
366-
/*
367-
EXPECT_DOUBLE_EQ(1.1, skeleton->getBodyNode("base")->getFrictionCoeff());
368-
// The last collision element overwrites the value set by previous collision
369-
// elements. We expect mu=1, the default value, instead of 0.1.
370-
EXPECT_DOUBLE_EQ(1, skeleton->getBodyNode("upper_link")->getFrictionCoeff());
371-
// Gets the default value when the <surface> tag is missing
372-
EXPECT_DOUBLE_EQ(1, skeleton->getBodyNode("lower_link")->getFrictionCoeff());
373-
*/
374-
375364
for (const auto * joint : {skeleton->getJoint(1), skeleton->getJoint(2)})
376365
{
377366
const auto * revolute =

include/gz/physics/config.hh.in

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
#define GZ_PHYSICS_VERSION_FULL "${PROJECT_VERSION_FULL}"
3030
#define GZ_PHYSICS_VERSION_NAMESPACE v${PROJECT_VERSION_MAJOR}
3131

32-
#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}"
33-
3432
#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"
3533

3634
#endif

0 commit comments

Comments
 (0)