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

minor

parent c0840fbf
No related branches found
Tags demo/2022-11-17/armar6a-1
1 merge request!25RT controller and simplification
#include "SceneProvider.h"
#include <VirtualRobot/SceneObjectSet.h>
#include "ArmarXCore/core/exceptions/local/ExpressionException.h"
#include <armarx/navigation/algorithms/CostmapBuilder.h>
#include <armarx/navigation/util/util.h>
......@@ -25,7 +26,8 @@ namespace armarx::navigation::server::scene_provider
scn.timestamp = timestamp;
scn.robot = srv.virtualRobotReader->getRobot(
config.robotName, timestamp, VirtualRobot::RobotIO::RobotDescription::eStructure);
config.robotName, timestamp, VirtualRobot::RobotIO::RobotDescription::eCollisionModel);
ARMARX_CHECK_NOT_NULL(scn.robot);
scn.staticScene = getStaticScene(timestamp);
scn.dynamicScene = getDynamicScene(timestamp);
......@@ -43,7 +45,7 @@ namespace armarx::navigation::server::scene_provider
srv.virtualRobotReader->synchronizeRobot(*scn.robot, timestamp);
scn.dynamicScene = getDynamicScene(timestamp);
scn.graph = getSceneGraph(timestamp);
// scn.graph = getSceneGraph(timestamp);
return true; // TODO(fabian.reister): return false if sync fails
}
......
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