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

Merge branch 'armem/rename-time-created' into 'main'

Rename time created

See merge request !26
parents 4d6f4fe2 95302a77
No related branches found
No related tags found
1 merge request!26Rename time created
......@@ -178,7 +178,7 @@ namespace armarx::control::components::control_memory
// send commit to memory
auto& up = c.add();
up.confidence = 1.0;
up.timeCreated = armem::Time::Now();
up.referencedTime = armem::Time::Now();
up.timeSent = armem::Time::Now();
up.timeArrived = armem::Time::Now();
up.entityID = providerID.withEntityName(location.filename().string());
......@@ -272,7 +272,7 @@ namespace armarx::control::components::control_memory
auto& up = c.add();
up.confidence = 1.0;
up.timeCreated = armem::Time::Now();
up.referencedTime = armem::Time::Now();
up.timeSent = armem::Time::Now();
up.timeArrived = armem::Time::Now();
up.entityID =
......@@ -332,7 +332,7 @@ namespace armarx::control::components::control_memory
// auto& up = c.add();
// up.confidence = 1.0;
// up.timeCreated = up.timeSent = up.timeArrived = armem::Time::Now();
// up.referencedTime = up.timeSent = up.timeArrived = armem::Time::Now();
// up.entityID = providerID.withEntityName("default");
// up.instancesData = {cfg.toAron()};
......@@ -374,7 +374,7 @@ namespace armarx::control::components::control_memory
// auto& up = c.add();
// up.confidence = 1.0;
// up.timeCreated = up.timeSent = up.timeArrived = armem::Time::Now();
// up.referencedTime = up.timeSent = up.timeArrived = armem::Time::Now();
// up.entityID = providerID.withEntityName("default");
// up.instancesData = {cfg.toAron()};
......@@ -422,7 +422,7 @@ namespace armarx::control::components::control_memory
// auto& up = c.add();
// up.confidence = 1.0;
// up.timeCreated = up.timeSent = up.timeArrived = armem::Time::Now();
// up.referencedTime = up.timeSent = up.timeArrived = armem::Time::Now();
// up.entityID = providerID.withEntityName("default");
// up.instancesData = {aronCfg.toAron()};
......
......@@ -66,7 +66,7 @@ namespace armarx::control::memory::config
.withProviderSegmentName(controllerType)
.withEntityName(controllerName)
.withTimestamp(timestamp);
update.timeCreated = timestamp;
update.referencedTime = timestamp;
update.instancesData = {cfg};
armem::Commit commit;
......@@ -99,7 +99,7 @@ namespace armarx::control::memory::config
.withProviderSegmentName(controllerType)
.withEntityName(name)
.withTimestamp(timestamp);
update.timeCreated = timestamp;
update.referencedTime = timestamp;
update.instancesData = {cfg};
armem::Commit commit;
......
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