4 #include <Eigen/Geometry>
6 #include <VirtualRobot/Robot.h>
20 const std::vector<std::string> packages =
22 const std::string
package = armarx::ArmarXDataPath::getProject(packages, obj.getFilename());
25 const std::string fileRelPath = [&obj, &package]() -> std::string
30 const std::string fixedFilename = obj.getFilename().substr(package.size() + 1, -1);
34 return obj.getFilename();
44 .instance = obj.getName(),
45 .config = {.timestamp = timestamp,
46 .globalPose = Eigen::Isometry3f(obj.getRootNode()->getGlobalPose()),
47 .jointMap = obj.getJointValues(),
48 .proprioception = std::nullopt},
49 .timestamp = timestamp};
62 return store(armemArticulatedObject);