Skip to content

Commit

Permalink
Migrate include statements
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Aug 19, 2022
1 parent 5283831 commit 49d45d2
Show file tree
Hide file tree
Showing 190 changed files with 487 additions and 487 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ find_package(ignition-cmake2 2.14.0 REQUIRED)
#============================================================================
ign_configure_project(
REPLACE_IGNITION_INCLUDE_PATH gz/physics
VERSION_SUFFIX pre1
VERSION_SUFFIX
)

#============================================================================
Expand Down
2 changes: 1 addition & 1 deletion dartsim/include/gz/physics/dartsim/World.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include <dart/simulation/World.hpp>

#include <ignition/physics/FeatureList.hh>
#include <gz/physics/FeatureList.hh>

namespace gz {
namespace physics {
Expand Down
4 changes: 2 additions & 2 deletions dartsim/src/Base.hh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
#include <utility>
#include <vector>

#include <ignition/common/Console.hh>
#include <ignition/physics/Implements.hh>
#include <gz/common/Console.hh>
#include <gz/physics/Implements.hh>

namespace gz {
namespace physics {
Expand Down
16 changes: 8 additions & 8 deletions dartsim/src/Base_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@

#include <gtest/gtest.h>

#include <ignition/physics/Implements.hh>

#include <ignition/physics/sdf/ConstructCollision.hh>
#include <ignition/physics/sdf/ConstructJoint.hh>
#include <ignition/physics/sdf/ConstructLink.hh>
#include <ignition/physics/sdf/ConstructModel.hh>
#include <ignition/physics/sdf/ConstructVisual.hh>
#include <ignition/physics/sdf/ConstructWorld.hh>
#include <gz/physics/Implements.hh>

#include <gz/physics/sdf/ConstructCollision.hh>
#include <gz/physics/sdf/ConstructJoint.hh>
#include <gz/physics/sdf/ConstructLink.hh>
#include <gz/physics/sdf/ConstructModel.hh>
#include <gz/physics/sdf/ConstructVisual.hh>
#include <gz/physics/sdf/ConstructWorld.hh>

#include "dart/dynamics/BoxShape.hpp"
#include "dart/dynamics/FreeJoint.hpp"
Expand Down
26 changes: 13 additions & 13 deletions dartsim/src/Collisions_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@

#include <test/PhysicsPluginsList.hh>

#include <ignition/physics/FindFeatures.hh>
#include <ignition/physics/RequestEngine.hh>
#include <ignition/plugin/Loader.hh>
#include <gz/physics/FindFeatures.hh>
#include <gz/physics/RequestEngine.hh>
#include <gz/plugin/Loader.hh>

// Features
#include <ignition/physics/ConstructEmpty.hh>
#include <ignition/physics/ForwardStep.hh>
#include <ignition/physics/FrameSemantics.hh>
#include <ignition/physics/FreeJoint.hh>
#include <ignition/physics/GetEntities.hh>
#include <ignition/physics/mesh/MeshShape.hh>
#include <ignition/physics/PlaneShape.hh>
#include <ignition/physics/FixedJoint.hh>

#include <ignition/common/MeshManager.hh>
#include <gz/physics/ConstructEmpty.hh>
#include <gz/physics/ForwardStep.hh>
#include <gz/physics/FrameSemantics.hh>
#include <gz/physics/FreeJoint.hh>
#include <gz/physics/GetEntities.hh>
#include <gz/physics/mesh/MeshShape.hh>
#include <gz/physics/PlaneShape.hh>
#include <gz/physics/FixedJoint.hh>

#include <gz/common/MeshManager.hh>

using TestFeatureList = gz::physics::FeatureList<
gz::physics::LinkFrameSemantics,
Expand Down
4 changes: 2 additions & 2 deletions dartsim/src/CustomFeatures.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef IGNITION_PHYSICS_SRC_CUSTOMFEATURES_HH
#define IGNITION_PHYSICS_SRC_CUSTOMFEATURES_HH

#include <ignition/physics/Implements.hh>
#include <gz/physics/Implements.hh>

#include <ignition/physics/dartsim/World.hh>
#include <gz/physics/dartsim/World.hh>

#include "Base.hh"

Expand Down
4 changes: 2 additions & 2 deletions dartsim/src/CustomMeshShape.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include <memory>
#include <string>

#include <ignition/common/Console.hh>
#include <ignition/common/SubMesh.hh>
#include <gz/common/Console.hh>
#include <gz/common/SubMesh.hh>

namespace gz {
namespace physics {
Expand Down
2 changes: 1 addition & 1 deletion dartsim/src/CustomMeshShape.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#define GZ_PHYSICS_DARTSIM_SRC_CUSTOMMESHSHAPE_HH_

#include <dart/dynamics/MeshShape.hpp>
#include <ignition/common/Mesh.hh>
#include <gz/common/Mesh.hh>

namespace gz {
namespace physics {
Expand Down
10 changes: 5 additions & 5 deletions dartsim/src/EntityManagementFeatures.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@

#include <string>

#include <ignition/physics/ConstructEmpty.hh>
#include <ignition/physics/Shape.hh>
#include <ignition/physics/GetEntities.hh>
#include <ignition/physics/RemoveEntities.hh>
#include <ignition/physics/Implements.hh>
#include <gz/physics/ConstructEmpty.hh>
#include <gz/physics/Shape.hh>
#include <gz/physics/GetEntities.hh>
#include <gz/physics/RemoveEntities.hh>
#include <gz/physics/Implements.hh>

#include "Base.hh"

Expand Down
12 changes: 6 additions & 6 deletions dartsim/src/EntityManagement_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@

#include <gtest/gtest.h>

#include <ignition/plugin/Loader.hh>
#include <gz/plugin/Loader.hh>

#include <ignition/common/MeshManager.hh>
#include <gz/common/MeshManager.hh>

#include <ignition/math/eigen3/Conversions.hh>
#include <gz/math/eigen3/Conversions.hh>

#include <ignition/physics/Joint.hh>
#include <ignition/physics/RequestEngine.hh>
#include <ignition/physics/RevoluteJoint.hh>
#include <gz/physics/Joint.hh>
#include <gz/physics/RequestEngine.hh>
#include <gz/physics/RevoluteJoint.hh>

#include "EntityManagementFeatures.hh"
#include "JointFeatures.hh"
Expand Down
2 changes: 1 addition & 1 deletion dartsim/src/FreeGroupFeatures.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef GZ_PHYSICS_DARTSIM_SRC_FREEGROUPFEATURES_HH_
#define GZ_PHYSICS_DARTSIM_SRC_FREEGROUPFEATURES_HH_

#include <ignition/physics/FreeGroup.hh>
#include <gz/physics/FreeGroup.hh>

#include "Base.hh"

Expand Down
10 changes: 5 additions & 5 deletions dartsim/src/JointFeatures.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@

#include <string>

#include <ignition/physics/Joint.hh>
#include <ignition/physics/FixedJoint.hh>
#include <ignition/physics/FreeJoint.hh>
#include <ignition/physics/PrismaticJoint.hh>
#include <ignition/physics/RevoluteJoint.hh>
#include <gz/physics/Joint.hh>
#include <gz/physics/FixedJoint.hh>
#include <gz/physics/FreeJoint.hh>
#include <gz/physics/PrismaticJoint.hh>
#include <gz/physics/RevoluteJoint.hh>

#include "Base.hh"

Expand Down
26 changes: 13 additions & 13 deletions dartsim/src/JointFeatures_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@

#include <iostream>

#include <ignition/physics/FindFeatures.hh>
#include <ignition/plugin/Loader.hh>
#include <ignition/physics/RequestEngine.hh>
#include <gz/physics/FindFeatures.hh>
#include <gz/plugin/Loader.hh>
#include <gz/physics/RequestEngine.hh>

#include <ignition/math/eigen3/Conversions.hh>
#include <gz/math/eigen3/Conversions.hh>

// Features
#include <ignition/physics/ForwardStep.hh>
#include <ignition/physics/FreeJoint.hh>
#include <ignition/physics/FixedJoint.hh>
#include <ignition/physics/GetEntities.hh>
#include <ignition/physics/Joint.hh>
#include <ignition/physics/RevoluteJoint.hh>
#include <ignition/physics/dartsim/World.hh>
#include <ignition/physics/sdf/ConstructModel.hh>
#include <ignition/physics/sdf/ConstructWorld.hh>
#include <gz/physics/ForwardStep.hh>
#include <gz/physics/FreeJoint.hh>
#include <gz/physics/FixedJoint.hh>
#include <gz/physics/GetEntities.hh>
#include <gz/physics/Joint.hh>
#include <gz/physics/RevoluteJoint.hh>
#include <gz/physics/dartsim/World.hh>
#include <gz/physics/sdf/ConstructModel.hh>
#include <gz/physics/sdf/ConstructWorld.hh>

#include <limits>
#include <sdf/Model.hh>
Expand Down
2 changes: 1 addition & 1 deletion dartsim/src/KinematicsFeatures.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <dart/dynamics/Frame.hpp>

#include <ignition/common/Console.hh>
#include <gz/common/Console.hh>
#include "KinematicsFeatures.hh"

namespace gz {
Expand Down
4 changes: 2 additions & 2 deletions dartsim/src/KinematicsFeatures.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#ifndef GZ_PHYSICS_DARTSIM_SRC_KINEMATICSFEATURES_HH_
#define GZ_PHYSICS_DARTSIM_SRC_KINEMATICSFEATURES_HH_

#include <ignition/physics/FrameSemantics.hh>
#include <ignition/physics/FreeGroup.hh>
#include <gz/physics/FrameSemantics.hh>
#include <gz/physics/FreeGroup.hh>

#include "Base.hh"

Expand Down
20 changes: 10 additions & 10 deletions dartsim/src/KinematicsFeatures_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@

#include <iostream>

#include <ignition/physics/FindFeatures.hh>
#include <ignition/plugin/Loader.hh>
#include <ignition/physics/RequestEngine.hh>
#include <gz/physics/FindFeatures.hh>
#include <gz/plugin/Loader.hh>
#include <gz/physics/RequestEngine.hh>

#include <ignition/math/eigen3/Conversions.hh>
#include <gz/math/eigen3/Conversions.hh>

// Features
#include <ignition/physics/FrameSemantics.hh>
#include <ignition/physics/ForwardStep.hh>
#include <ignition/physics/GetEntities.hh>
#include <ignition/physics/Joint.hh>
#include <ignition/physics/sdf/ConstructModel.hh>
#include <ignition/physics/sdf/ConstructWorld.hh>
#include <gz/physics/FrameSemantics.hh>
#include <gz/physics/ForwardStep.hh>
#include <gz/physics/GetEntities.hh>
#include <gz/physics/Joint.hh>
#include <gz/physics/sdf/ConstructModel.hh>
#include <gz/physics/sdf/ConstructWorld.hh>

#include <limits>
#include <sdf/Model.hh>
Expand Down
2 changes: 1 addition & 1 deletion dartsim/src/LinkFeatures.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef GZ_PHYSICS_DARTSIM_SRC_LINKFEATURES_HH_
#define GZ_PHYSICS_DARTSIM_SRC_LINKFEATURES_HH_

#include <ignition/physics/Link.hh>
#include <gz/physics/Link.hh>

#include "Base.hh"

Expand Down
22 changes: 11 additions & 11 deletions dartsim/src/LinkFeatures_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@

#include <iostream>

#include <ignition/physics/FindFeatures.hh>
#include <ignition/plugin/Loader.hh>
#include <ignition/physics/RequestEngine.hh>
#include <gz/physics/FindFeatures.hh>
#include <gz/plugin/Loader.hh>
#include <gz/physics/RequestEngine.hh>

#include <ignition/math/eigen3/Conversions.hh>
#include <gz/math/eigen3/Conversions.hh>

// Features
#include <ignition/physics/ForwardStep.hh>
#include <ignition/physics/FrameSemantics.hh>
#include <ignition/physics/GetBoundingBox.hh>
#include <ignition/physics/Link.hh>
#include <ignition/physics/sdf/ConstructWorld.hh>
#include <ignition/physics/sdf/ConstructModel.hh>
#include <ignition/physics/sdf/ConstructLink.hh>
#include <gz/physics/ForwardStep.hh>
#include <gz/physics/FrameSemantics.hh>
#include <gz/physics/GetBoundingBox.hh>
#include <gz/physics/Link.hh>
#include <gz/physics/sdf/ConstructWorld.hh>
#include <gz/physics/sdf/ConstructModel.hh>
#include <gz/physics/sdf/ConstructLink.hh>

#include <sdf/Root.hh>
#include <sdf/World.hh>
Expand Down
6 changes: 3 additions & 3 deletions dartsim/src/SDFFeatures.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
#include <dart/constraint/WeldJointConstraint.hpp>
#include <dart/dynamics/WeldJoint.hpp>

#include <ignition/common/Console.hh>
#include <ignition/math/eigen3/Conversions.hh>
#include <ignition/math/Helpers.hh>
#include <gz/common/Console.hh>
#include <gz/math/eigen3/Conversions.hh>
#include <gz/math/Helpers.hh>

#include <sdf/Box.hh>
#include <sdf/Collision.hh>
Expand Down
16 changes: 8 additions & 8 deletions dartsim/src/SDFFeatures.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@

#include <string>

#include <ignition/physics/sdf/ConstructCollision.hh>
#include <ignition/physics/sdf/ConstructJoint.hh>
#include <ignition/physics/sdf/ConstructLink.hh>
#include <ignition/physics/sdf/ConstructModel.hh>
#include <ignition/physics/sdf/ConstructVisual.hh>
#include <ignition/physics/sdf/ConstructWorld.hh>

#include <ignition/physics/Implements.hh>
#include <gz/physics/sdf/ConstructCollision.hh>
#include <gz/physics/sdf/ConstructJoint.hh>
#include <gz/physics/sdf/ConstructLink.hh>
#include <gz/physics/sdf/ConstructModel.hh>
#include <gz/physics/sdf/ConstructVisual.hh>
#include <gz/physics/sdf/ConstructWorld.hh>

#include <gz/physics/Implements.hh>

#include "Base.hh"
#include "EntityManagementFeatures.hh"
Expand Down
18 changes: 9 additions & 9 deletions dartsim/src/SDFFeatures_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@

#include <tuple>

#include <ignition/plugin/Loader.hh>
#include <gz/plugin/Loader.hh>

#include <ignition/physics/GetEntities.hh>
#include <ignition/physics/Joint.hh>
#include <ignition/physics/RequestEngine.hh>
#include <gz/physics/GetEntities.hh>
#include <gz/physics/Joint.hh>
#include <gz/physics/RequestEngine.hh>

#include <ignition/physics/sdf/ConstructJoint.hh>
#include <ignition/physics/sdf/ConstructLink.hh>
#include <ignition/physics/sdf/ConstructModel.hh>
#include <ignition/physics/sdf/ConstructWorld.hh>
#include <gz/physics/sdf/ConstructJoint.hh>
#include <gz/physics/sdf/ConstructLink.hh>
#include <gz/physics/sdf/ConstructModel.hh>
#include <gz/physics/sdf/ConstructWorld.hh>

#include <ignition/physics/dartsim/World.hh>
#include <gz/physics/dartsim/World.hh>

#include <sdf/Root.hh>
#include <sdf/World.hh>
Expand Down
12 changes: 6 additions & 6 deletions dartsim/src/ShapeFeatures.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@

#include <string>

#include <ignition/physics/Shape.hh>
#include <ignition/physics/BoxShape.hh>
#include <ignition/physics/CylinderShape.hh>
#include <ignition/physics/mesh/MeshShape.hh>
#include <ignition/physics/PlaneShape.hh>
#include <ignition/physics/SphereShape.hh>
#include <gz/physics/Shape.hh>
#include <gz/physics/BoxShape.hh>
#include <gz/physics/CylinderShape.hh>
#include <gz/physics/mesh/MeshShape.hh>
#include <gz/physics/PlaneShape.hh>
#include <gz/physics/SphereShape.hh>

#include "Base.hh"

Expand Down
Loading

0 comments on commit 49d45d2

Please sign in to comment.