4 #include <Eigen/Geometry>
6 #include <SimoxUtility/algorithm/string/string_tools.h>
7 #include <VirtualRobot/Nodes/RobotNode.h>
8 #include <VirtualRobot/Robot.h>
25 const std::vector<std::string> packages =
27 const std::string
package = armarx::ArmarXDataPath::getProject(packages, obj.getFilename());
30 const std::string fileRelPath = [&obj, &package]() -> std::string
35 const std::string fixedFilename = obj.getFilename().substr(package.size() + 1, -1);
39 return obj.getFilename();
49 .instance = obj.getName(),
51 .globalPose = Eigen::Isometry3f(obj.getRootNode()->getGlobalPose()),
52 .jointMap = obj.getJointValues(),
53 .proprioception = std::nullopt},
64 .
description = {.
name = obj.getType(), .xml = {}, .visualization = {}, .info = {}},
65 .instance = obj.getName(),
67 .globalPose = Eigen::Isometry3f(obj.getRootNode()->getGlobalPose()),
68 .jointMap = obj.getJointValues(),
69 .proprioception = std::nullopt},
85 return store(armemArticulatedObject, isStatic);
97 convertWithoutPackagePath(*articulatedObject,
timestamp);