Skip to content

Commit

Permalink
Remove TesseractSupportResourceLocator
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Oct 12, 2024
1 parent 20386fe commit 7a86023
Show file tree
Hide file tree
Showing 105 changed files with 372 additions and 290 deletions.
4 changes: 2 additions & 2 deletions tesseract_command_language/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ Changelog for package tesseract_command_language

0.9.5 (2022-03-31)
------------------
* Update to leverage TesseractSupportResourceLocator (`#181 <https://github.com/tesseract-robotics/tesseract_planning/issues/181>`_)
* Update to leverage TesseractSupportResourceLocator
* Update to leverage GeneralResourceLocator (`#181 <https://github.com/tesseract-robotics/tesseract_planning/issues/181>`_)
* Update to leverage GeneralResourceLocator
* Update CI docker tag to 0.9
* Fix windows CI build (`#178 <https://github.com/tesseract-robotics/tesseract_planning/issues/178>`_)
* Contributors: Levi Armstrong
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ struct InstructionPoly : InstructionPolyBase
} // namespace tesseract_planning

BOOST_SERIALIZATION_ASSUME_ABSTRACT(tesseract_planning::detail_instruction::InstructionInterface)
BOOST_CLASS_EXPORT_KEY(tesseract_planning::detail_instruction::InstructionInterface)
BOOST_CLASS_TRACKING(tesseract_planning::detail_instruction::InstructionInterface, boost::serialization::track_never)

BOOST_CLASS_EXPORT_KEY(tesseract_planning::InstructionPolyBase)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ struct WaypointPoly : WaypointPolyBase
} // namespace tesseract_planning

BOOST_SERIALIZATION_ASSUME_ABSTRACT(tesseract_planning::detail_waypoint::WaypointInterface)
BOOST_CLASS_EXPORT_KEY(tesseract_planning::detail_waypoint::WaypointInterface)
BOOST_CLASS_TRACKING(tesseract_planning::detail_waypoint::WaypointInterface, boost::serialization::track_never)

BOOST_CLASS_EXPORT_KEY(tesseract_planning::WaypointPolyBase)
Expand Down
2 changes: 1 addition & 1 deletion tesseract_command_language/src/cartesian_waypoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ void tesseract_planning::CartesianWaypoint::serialize(Archive& ar, const unsigne

#include <tesseract_common/serialization.h>

TESSERACT_CARTESIAN_WAYPOINT_EXPORT_IMPLEMENT(tesseract_planning::CartesianWaypoint)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::CartesianWaypoint)
TESSERACT_CARTESIAN_WAYPOINT_EXPORT_IMPLEMENT(tesseract_planning::CartesianWaypoint)
2 changes: 1 addition & 1 deletion tesseract_command_language/src/composite_instruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,6 @@ void CompositeInstruction::serialize(Archive& ar, const unsigned int /*version*/

#include <tesseract_common/serialization.h>

TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::CompositeInstruction)
TESSERACT_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::CompositeInstruction)
TESSERACT_ANY_EXPORT_IMPLEMENT(TesseractPlanningCompositeInstruction)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::CompositeInstruction)
2 changes: 1 addition & 1 deletion tesseract_command_language/src/joint_waypoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,5 @@ void JointWaypoint::serialize(Archive& ar, const unsigned int /*version*/)
}
} // namespace tesseract_planning

TESSERACT_JOINT_WAYPOINT_EXPORT_IMPLEMENT(tesseract_planning::JointWaypoint)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::JointWaypoint)
TESSERACT_JOINT_WAYPOINT_EXPORT_IMPLEMENT(tesseract_planning::JointWaypoint)
2 changes: 1 addition & 1 deletion tesseract_command_language/src/move_instruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,5 +263,5 @@ void MoveInstruction::serialize(Archive& ar, const unsigned int /*version*/)

#include <tesseract_common/serialization.h>

TESSERACT_MOVE_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::MoveInstruction)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::MoveInstruction)
TESSERACT_MOVE_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::MoveInstruction)
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ void tesseract_planning::CartesianWaypointPoly::serialize(Archive& ar, const uns
ar& boost::serialization::make_nvp("base", boost::serialization::base_object<CartesianWaypointPolyBase>(*this));
}

TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::detail_cartesian_waypoint::CartesianWaypointInterface)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::CartesianWaypointPolyBase)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::CartesianWaypointPoly)

BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::detail_cartesian_waypoint::CartesianWaypointInterface)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::CartesianWaypointPolyBase)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::CartesianWaypointPoly)

TESSERACT_WAYPOINT_EXPORT_IMPLEMENT(tesseract_planning::CartesianWaypointPoly)

TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::detail_cartesian_waypoint::CartesianWaypointInterface)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::CartesianWaypointPolyBase)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::CartesianWaypointPoly)
7 changes: 3 additions & 4 deletions tesseract_command_language/src/poly/instruction_poly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,9 @@ void tesseract_planning::InstructionPoly::serialize(Archive& ar, const unsigned
ar& boost::serialization::make_nvp("base", boost::serialization::base_object<InstructionPolyBase>(*this));
}

BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::detail_instruction::InstructionInterface)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::InstructionPolyBase)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::InstructionPoly)

TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::detail_instruction::InstructionInterface)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::InstructionPolyBase)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::InstructionPoly)

BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::InstructionPolyBase)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::InstructionPoly)
8 changes: 4 additions & 4 deletions tesseract_command_language/src/poly/joint_waypoint_poly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ void tesseract_planning::JointWaypointPoly::serialize(Archive& ar, const unsigne
ar& boost::serialization::make_nvp("base", boost::serialization::base_object<JointWaypointPolyBase>(*this));
}

TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::detail_joint_waypoint::JointWaypointInterface)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::JointWaypointPolyBase)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::JointWaypointPoly)

BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::detail_joint_waypoint::JointWaypointInterface)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::JointWaypointPolyBase)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::JointWaypointPoly)

TESSERACT_WAYPOINT_EXPORT_IMPLEMENT(tesseract_planning::JointWaypointPoly)

TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::detail_joint_waypoint::JointWaypointInterface)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::JointWaypointPolyBase)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::JointWaypointPoly)
8 changes: 4 additions & 4 deletions tesseract_command_language/src/poly/move_instruction_poly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,12 @@ void tesseract_planning::MoveInstructionPoly::serialize(Archive& ar, const unsig
ar& boost::serialization::make_nvp("base", boost::serialization::base_object<MoveInstructionPolyBase>(*this));
}

TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::detail_move_instruction::MoveInstructionInterface)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::MoveInstructionPolyBase)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::MoveInstructionPoly)

BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::detail_move_instruction::MoveInstructionInterface)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::MoveInstructionPolyBase)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::MoveInstructionPoly)

TESSERACT_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::MoveInstructionPoly)

TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::detail_move_instruction::MoveInstructionInterface)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::MoveInstructionPolyBase)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::MoveInstructionPoly)
8 changes: 4 additions & 4 deletions tesseract_command_language/src/poly/state_waypoint_poly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ void tesseract_planning::StateWaypointPoly::serialize(Archive& ar, const unsigne
ar& boost::serialization::make_nvp("base", boost::serialization::base_object<StateWaypointPolyBase>(*this));
}

TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::detail_state_waypoint::StateWaypointInterface)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::StateWaypointPolyBase)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::StateWaypointPoly)

BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::detail_state_waypoint::StateWaypointInterface)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::StateWaypointPolyBase)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::StateWaypointPoly)

TESSERACT_WAYPOINT_EXPORT_IMPLEMENT(tesseract_planning::StateWaypointPoly)

TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::detail_state_waypoint::StateWaypointInterface)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::StateWaypointPolyBase)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::StateWaypointPoly)
7 changes: 3 additions & 4 deletions tesseract_command_language/src/poly/waypoint_poly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ void tesseract_planning::WaypointPoly::serialize(Archive& ar, const unsigned int
ar& boost::serialization::make_nvp("base", boost::serialization::base_object<WaypointPolyBase>(*this));
}

BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::detail_waypoint::WaypointInterface)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::WaypointPolyBase)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::WaypointPoly)

TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::detail_waypoint::WaypointInterface)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::WaypointPolyBase)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::WaypointPoly)

BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::WaypointPolyBase)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::WaypointPoly)
2 changes: 1 addition & 1 deletion tesseract_command_language/src/profile_dictionary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ void ProfileDictionary::serialize(Archive& /*ar*/, const unsigned int /*version*
} // namespace tesseract_planning

#include <tesseract_common/serialization.h>
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::ProfileDictionary)
BOOST_CLASS_EXPORT_IMPLEMENT(tesseract_planning::ProfileDictionary)
TESSERACT_ANY_EXPORT_IMPLEMENT(TesseractPlanningProfileDictionarySharedPtr)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::ProfileDictionary)
2 changes: 1 addition & 1 deletion tesseract_command_language/src/set_analog_instruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ void SetAnalogInstruction::serialize(Archive& ar, const unsigned int /*version*/
} // namespace tesseract_planning

#include <tesseract_common/serialization.h>
TESSERACT_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::SetAnalogInstruction)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::SetAnalogInstruction)
TESSERACT_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::SetAnalogInstruction)
2 changes: 1 addition & 1 deletion tesseract_command_language/src/set_tool_instruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ void SetToolInstruction::serialize(Archive& ar, const unsigned int /*version*/)

} // namespace tesseract_planning

TESSERACT_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::SetToolInstruction)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::SetToolInstruction)
TESSERACT_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::SetToolInstruction)
2 changes: 1 addition & 1 deletion tesseract_command_language/src/state_waypoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,5 @@ void StateWaypoint::serialize(Archive& ar, const unsigned int /*version*/)

} // namespace tesseract_planning

TESSERACT_STATE_WAYPOINT_EXPORT_IMPLEMENT(tesseract_planning::StateWaypoint)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::StateWaypoint)
TESSERACT_STATE_WAYPOINT_EXPORT_IMPLEMENT(tesseract_planning::StateWaypoint)
2 changes: 1 addition & 1 deletion tesseract_command_language/src/timer_instruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@ void TimerInstruction::serialize(Archive& ar, const unsigned int /*version*/)
}
} // namespace tesseract_planning

TESSERACT_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::TimerInstruction)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::TimerInstruction)
TESSERACT_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::TimerInstruction)
2 changes: 1 addition & 1 deletion tesseract_command_language/src/wait_instruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,5 @@ void WaitInstruction::serialize(Archive& ar, const unsigned int /*version*/)
} // namespace tesseract_planning

#include <tesseract_common/serialization.h>
TESSERACT_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::WaitInstruction)
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(tesseract_planning::WaitInstruction)
TESSERACT_INSTRUCTION_EXPORT_IMPLEMENT(tesseract_planning::WaitInstruction)
4 changes: 1 addition & 3 deletions tesseract_examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ find_package(tesseract_environment REQUIRED)
find_package(tesseract_command_language REQUIRED)
find_package(tesseract_task_composer REQUIRED)
find_package(tesseract_common REQUIRED)
find_package(tesseract_support REQUIRED)
find_package(trajopt_sqp REQUIRED)
find_package(trajopt_ifopt REQUIRED)
find_package(
Expand Down Expand Up @@ -106,7 +105,7 @@ target_include_directories(${PROJECT_NAME} SYSTEM PUBLIC ${PCL_INCLUDE_DIRS})

macro(add_example example_name example_file)
add_executable(${example_name} ${example_file})
target_link_libraries(${example_name} ${PROJECT_NAME} tesseract::tesseract_support)
target_link_libraries(${example_name} ${PROJECT_NAME})
target_compile_options(${example_name} PRIVATE ${TESSERACT_COMPILE_OPTIONS})
target_clang_tidy(${example_name} ARGUMENTS ${TESSERACT_CLANG_TIDY_ARGS} ENABLE ${TESSERACT_ENABLE_CLANG_TIDY})
target_cxx_version(${example_name} PUBLIC VERSION ${TESSERACT_CXX_VERSION})
Expand Down Expand Up @@ -156,7 +155,6 @@ configure_package(
tesseract_task_composer
tesseract_collision
tesseract_common
tesseract_support
trajopt_sqp
trajopt_ifopt
"PCL REQUIRED COMPONENTS core features filters io segmentation surface")
Expand Down
4 changes: 2 additions & 2 deletions tesseract_examples/src/basic_cartesian_example_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
#include <tesseract_examples/basic_cartesian_example.h>
#include <tesseract_common/filesystem.h>
#include <tesseract_environment/environment.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include <tesseract_common/resource_locator.h>

using namespace tesseract_examples;
using namespace tesseract_common;
using namespace tesseract_environment;

int main(int /*argc*/, char** /*argv*/)
{
auto locator = std::make_shared<TesseractSupportResourceLocator>();
auto locator = std::make_shared<GeneralResourceLocator>();
tesseract_common::fs::path urdf_path =
locator->locateResource("package://tesseract_support/urdf/lbr_iiwa_14_r820.urdf")->getFilePath();
tesseract_common::fs::path srdf_path =
Expand Down
4 changes: 2 additions & 2 deletions tesseract_examples/src/car_seat_example_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
#include <tesseract_examples/car_seat_example.h>
#include <tesseract_common/filesystem.h>
#include <tesseract_environment/environment.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include <tesseract_common/resource_locator.h>

using namespace tesseract_examples;
using namespace tesseract_common;
using namespace tesseract_environment;

int main(int /*argc*/, char** /*argv*/)
{
auto locator = std::make_shared<TesseractSupportResourceLocator>();
auto locator = std::make_shared<GeneralResourceLocator>();
tesseract_common::fs::path urdf_path =
locator->locateResource("package://tesseract_support/urdf/car_seat_demo.urdf")->getFilePath();
tesseract_common::fs::path srdf_path =
Expand Down
4 changes: 2 additions & 2 deletions tesseract_examples/src/freespace_hybrid_example_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
#include <tesseract_examples/freespace_hybrid_example.h>
#include <tesseract_common/filesystem.h>
#include <tesseract_environment/environment.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include <tesseract_common/resource_locator.h>

using namespace tesseract_examples;
using namespace tesseract_common;
using namespace tesseract_environment;

int main(int /*argc*/, char** /*argv*/)
{
auto locator = std::make_shared<TesseractSupportResourceLocator>();
auto locator = std::make_shared<GeneralResourceLocator>();
tesseract_common::fs::path urdf_path =
locator->locateResource("package://tesseract_support/urdf/lbr_iiwa_14_r820.urdf")->getFilePath();
tesseract_common::fs::path srdf_path =
Expand Down
4 changes: 2 additions & 2 deletions tesseract_examples/src/freespace_ompl_example_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
#include <tesseract_examples/freespace_ompl_example.h>
#include <tesseract_common/filesystem.h>
#include <tesseract_environment/environment.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include <tesseract_common/resource_locator.h>

using namespace tesseract_examples;
using namespace tesseract_common;
using namespace tesseract_environment;

int main(int /*argc*/, char** /*argv*/)
{
auto locator = std::make_shared<TesseractSupportResourceLocator>();
auto locator = std::make_shared<GeneralResourceLocator>();
tesseract_common::fs::path urdf_path =
locator->locateResource("package://tesseract_support/urdf/lbr_iiwa_14_r820.urdf")->getFilePath();
tesseract_common::fs::path srdf_path =
Expand Down
4 changes: 2 additions & 2 deletions tesseract_examples/src/glass_upright_example_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
#include <tesseract_examples/glass_upright_example.h>
#include <tesseract_common/filesystem.h>
#include <tesseract_environment/environment.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include <tesseract_common/resource_locator.h>

using namespace tesseract_examples;
using namespace tesseract_common;
using namespace tesseract_environment;

int main(int /*argc*/, char** /*argv*/)
{
auto locator = std::make_shared<TesseractSupportResourceLocator>();
auto locator = std::make_shared<GeneralResourceLocator>();
tesseract_common::fs::path urdf_path =
locator->locateResource("package://tesseract_support/urdf/lbr_iiwa_14_r820.urdf")->getFilePath();
tesseract_common::fs::path srdf_path =
Expand Down
4 changes: 2 additions & 2 deletions tesseract_examples/src/glass_upright_ompl_example_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
#include <tesseract_examples/glass_upright_ompl_example.h>
#include <tesseract_common/filesystem.h>
#include <tesseract_environment/environment.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include <tesseract_common/resource_locator.h>

using namespace tesseract_examples;
using namespace tesseract_common;
using namespace tesseract_environment;

int main(int argc, char** argv)
{
auto locator = std::make_shared<TesseractSupportResourceLocator>();
auto locator = std::make_shared<GeneralResourceLocator>();
tesseract_common::fs::path urdf_path =
locator->locateResource("package://tesseract_support/urdf/lbr_iiwa_14_r820.urdf")->getFilePath();
tesseract_common::fs::path srdf_path =
Expand Down
4 changes: 2 additions & 2 deletions tesseract_examples/src/online_planning_example_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
#include <tesseract_examples/online_planning_example.h>
#include <tesseract_common/filesystem.h>
#include <tesseract_environment/environment.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include <tesseract_common/resource_locator.h>

using namespace tesseract_examples;
using namespace tesseract_common;
using namespace tesseract_environment;

int main(int /*argc*/, char** /*argv*/)
{
auto locator = std::make_shared<TesseractSupportResourceLocator>();
auto locator = std::make_shared<GeneralResourceLocator>();
tesseract_common::fs::path urdf_path =
locator->locateResource("package://tesseract_support/urdf/online_planning_example.urdf")->getFilePath();
tesseract_common::fs::path srdf_path =
Expand Down
4 changes: 2 additions & 2 deletions tesseract_examples/src/pick_and_place_example_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
#include <tesseract_examples/pick_and_place_example.h>
#include <tesseract_common/filesystem.h>
#include <tesseract_environment/environment.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include <tesseract_common/resource_locator.h>

using namespace tesseract_examples;
using namespace tesseract_common;
using namespace tesseract_environment;

int main(int /*argc*/, char** /*argv*/)
{
auto locator = std::make_shared<TesseractSupportResourceLocator>();
auto locator = std::make_shared<GeneralResourceLocator>();
tesseract_common::fs::path urdf_path =
locator->locateResource("package://tesseract_support/urdf/pick_and_place_plan.urdf")->getFilePath();
tesseract_common::fs::path srdf_path =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
#include <tesseract_examples/puzzle_piece_auxillary_axes_example.h>
#include <tesseract_common/filesystem.h>
#include <tesseract_environment/environment.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include <tesseract_common/resource_locator.h>

using namespace tesseract_examples;
using namespace tesseract_common;
using namespace tesseract_environment;

int main(int /*argc*/, char** /*argv*/)
{
auto locator = std::make_shared<TesseractSupportResourceLocator>();
auto locator = std::make_shared<GeneralResourceLocator>();
tesseract_common::fs::path urdf_path =
locator->locateResource("package://tesseract_support/urdf/puzzle_piece_workcell.urdf")->getFilePath();
tesseract_common::fs::path srdf_path =
Expand Down
Loading

0 comments on commit 7a86023

Please sign in to comment.