Skip to content
Snippets Groups Projects
Commit 1ee90110 authored by Fabian Reister's avatar Fabian Reister
Browse files

VirtualRobotReader: cleanup: no need for packagepath in synchronizeRobot

parent 4618a4fb
No related branches found
No related tags found
No related merge requests found
......@@ -38,11 +38,11 @@ namespace armarx::armem::robot_state
bool
VirtualRobotReader::synchronizeRobot(VirtualRobot::Robot& robot, const armem::Time& timestamp)
{
const static auto packages = armarx::CMakePackageFinder::FindAllArmarXSourcePackages();
const auto package = armarx::ArmarXDataPath::getProject(packages, robot.getFilename());
// const static auto packages = armarx::CMakePackageFinder::FindAllArmarXSourcePackages();
// const auto package = armarx::ArmarXDataPath::getProject(packages, robot.getFilename());
const robot::RobotDescription robotDescription{
.name = robot.getName(), .xml = PackagePath{package, robot.getFilename()}};
.name = robot.getName(), .xml = PackagePath{"", ""}};
const auto robotState = queryState(robotDescription, timestamp);
if (not robotState)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment