Skip to content
Snippets Groups Projects
Commit fe8f3f3b authored by Fabian Tërnava's avatar Fabian Tërnava
Browse files

Merge branch 'feature/loadLTMonStartup' of...

Merge branch 'feature/loadLTMonStartup' of git.h2t.iar.kit.edu:sw/armarx/robot-api into feature/loadLTMonStartup
parents 539bf8a5 f547f2ff
No related branches found
No related tags found
1 merge request!479feature : loading LTM information on WM startup
Pipeline #20948 failed
......@@ -60,6 +60,36 @@ namespace armarx::armem::server::ltm::detail
{
}
void setRecordingMode(const std::string& m)
{
if (m == "CONSOLIDATE_REMOVED")
{
this->recordingMode = RecordingMode::CONSOLIDATE_REMOVED;
}
else if (m == "CONSOLIDATE_ALL")
{
this->recordingMode = RecordingMode::CONSOLIDATE_ALL;
}
else if (m == "CONSOLIDATE_LATEST")
{
this->recordingMode = RecordingMode::CONSOLIDATE_LATEST;
}
else
{
ARMARX_WARNING << "Unknown recording mode: " << m;
}
}
void setRecordingMode(const RecordingMode m)
{
this->recordingMode = m;
}
RecordingMode getRecordingMode() const
{
return recordingMode;
}
/// initialize config
void
configure()
......
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