diff --git a/source/RobotAPI/libraries/armem/client/Reader.cpp b/source/RobotAPI/libraries/armem/client/Reader.cpp index 39fb858bd730ec537ef5c42d87274be0889eedb9..deab5d748d4606afd2bd6670585193ac0c011822 100644 --- a/source/RobotAPI/libraries/armem/client/Reader.cpp +++ b/source/RobotAPI/libraries/armem/client/Reader.cpp @@ -427,7 +427,11 @@ namespace armarx::armem::client server::RecordingMemoryInterfacePrx storingMemoryPrx = server::RecordingMemoryInterfacePrx::checkedCast(readingPrx); if (storingMemoryPrx) { - server::dto::StartRecordInput i; // WHAT TO PUT HERE? + server::dto::StartRecordInput i; + i.executionTime = armarx::core::time::dto::DateTime(); + i.recordingID = ""; + i.configuration.clear(); + storingMemoryPrx->startRecord(i); return; } diff --git a/source/RobotAPI/libraries/armem/server/MemoryToIceAdapter.cpp b/source/RobotAPI/libraries/armem/server/MemoryToIceAdapter.cpp index 6aa17f4ce8cd20b40b96e77ccd3f83659d6a4c18..8f37824ff7ff96a8280813247bb17290ae48582b 100644 --- a/source/RobotAPI/libraries/armem/server/MemoryToIceAdapter.cpp +++ b/source/RobotAPI/libraries/armem/server/MemoryToIceAdapter.cpp @@ -381,7 +381,7 @@ namespace armarx::armem::server ARMARX_TRACE; ARMARX_CHECK_NOT_NULL(longtermMemory); ARMARX_IMPORTANT << "Enabling the recording of memory " << longtermMemory->id().str(); - longtermMemory->startRecording(); + longtermMemory->startRecording(); // TODO: config and execution time! dto::StartRecordResult ret; ret.success = true;