26 #include <Eigen/Geometry>
28 #include <VirtualRobot/ManipulationObject.h>
29 #include <VirtualRobot/SceneObjectSet.h>
41 const auto dataset = objectPose.objectID.dataset();
43 return std::find(datasetBlocklist.begin(), datasetBlocklist.end(), dataset) !=
44 datasetBlocklist.end();
47 objects.erase(std::remove_if(objects.begin(), objects.end(), isBlacklisted), objects.end());
52 VirtualRobot::ManipulationObjectPtr
57 VirtualRobot::SceneObjectSetPtr sceneObjects(
new VirtualRobot::SceneObjectSet);
69 VirtualRobot::SceneObjectSetPtr
74 VirtualRobot::SceneObjectSetPtr sceneObjects(
new VirtualRobot::SceneObjectSet);
75 for (
const auto& objectPose : objectPoses)
79 obstacle->setGlobalPose(objectPose.objectPoseGlobal);
80 sceneObjects->addSceneObject(obstacle);