From bb4cd5673cccf24a964eb294f4ca3d8d5f2b7198 Mon Sep 17 00:00:00 2001 From: Rainer Kartmann <rainer.kartmann@kit.edu> Date: Tue, 5 Sep 2023 10:34:21 +0200 Subject: [PATCH] Fix missing initializer for new member --- .../ArticulatedObjectLocalizerDynamicSimulation.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/source/ArmarXSimulation/components/ArticulatedObjectLocalizerDynamicSimulation/ArticulatedObjectLocalizerDynamicSimulation.cpp b/source/ArmarXSimulation/components/ArticulatedObjectLocalizerDynamicSimulation/ArticulatedObjectLocalizerDynamicSimulation.cpp index 1afc38e99..b9a3f662b 100644 --- a/source/ArmarXSimulation/components/ArticulatedObjectLocalizerDynamicSimulation/ArticulatedObjectLocalizerDynamicSimulation.cpp +++ b/source/ArmarXSimulation/components/ArticulatedObjectLocalizerDynamicSimulation/ArticulatedObjectLocalizerDynamicSimulation.cpp @@ -209,10 +209,15 @@ namespace armarx {"PriorKnowledgeData"}, obj.getFilename()), obj.getFilename())}, .instance = "", // TODO(fabian.reister): - .config = {.timestamp = timestamp, - .globalPose = Eigen::Affine3f(obj.getRootNode()->getGlobalPose()), - .jointMap = obj.getJointValues()}, - .timestamp = timestamp}; + .config = + { + .timestamp = timestamp, + .globalPose = Eigen::Affine3f(obj.getRootNode()->getGlobalPose()), + .jointMap = obj.getJointValues(), + .proprioception = std::nullopt, + }, + .timestamp = timestamp, + }; } void -- GitLab