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 ...@@ -178,7 +178,7 @@ namespace armarx::control::components::control_memory
// send commit to memory // send commit to memory
auto& up = c.add(); auto& up = c.add();
up.confidence = 1.0; up.confidence = 1.0;
up.timeCreated = armem::Time::Now(); up.referencedTime = armem::Time::Now();
up.timeSent = armem::Time::Now(); up.timeSent = armem::Time::Now();
up.timeArrived = armem::Time::Now(); up.timeArrived = armem::Time::Now();
up.entityID = providerID.withEntityName(location.filename().string()); up.entityID = providerID.withEntityName(location.filename().string());
...@@ -272,7 +272,7 @@ namespace armarx::control::components::control_memory ...@@ -272,7 +272,7 @@ namespace armarx::control::components::control_memory
auto& up = c.add(); auto& up = c.add();
up.confidence = 1.0; up.confidence = 1.0;
up.timeCreated = armem::Time::Now(); up.referencedTime = armem::Time::Now();
up.timeSent = armem::Time::Now(); up.timeSent = armem::Time::Now();
up.timeArrived = armem::Time::Now(); up.timeArrived = armem::Time::Now();
up.entityID = up.entityID =
...@@ -332,7 +332,7 @@ namespace armarx::control::components::control_memory ...@@ -332,7 +332,7 @@ namespace armarx::control::components::control_memory
// auto& up = c.add(); // auto& up = c.add();
// up.confidence = 1.0; // 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.entityID = providerID.withEntityName("default");
// up.instancesData = {cfg.toAron()}; // up.instancesData = {cfg.toAron()};
...@@ -374,7 +374,7 @@ namespace armarx::control::components::control_memory ...@@ -374,7 +374,7 @@ namespace armarx::control::components::control_memory
// auto& up = c.add(); // auto& up = c.add();
// up.confidence = 1.0; // 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.entityID = providerID.withEntityName("default");
// up.instancesData = {cfg.toAron()}; // up.instancesData = {cfg.toAron()};
...@@ -422,7 +422,7 @@ namespace armarx::control::components::control_memory ...@@ -422,7 +422,7 @@ namespace armarx::control::components::control_memory
// auto& up = c.add(); // auto& up = c.add();
// up.confidence = 1.0; // 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.entityID = providerID.withEntityName("default");
// up.instancesData = {aronCfg.toAron()}; // up.instancesData = {aronCfg.toAron()};
......
...@@ -66,7 +66,7 @@ namespace armarx::control::memory::config ...@@ -66,7 +66,7 @@ namespace armarx::control::memory::config
.withProviderSegmentName(controllerType) .withProviderSegmentName(controllerType)
.withEntityName(controllerName) .withEntityName(controllerName)
.withTimestamp(timestamp); .withTimestamp(timestamp);
update.timeCreated = timestamp; update.referencedTime = timestamp;
update.instancesData = {cfg}; update.instancesData = {cfg};
armem::Commit commit; armem::Commit commit;
...@@ -99,7 +99,7 @@ namespace armarx::control::memory::config ...@@ -99,7 +99,7 @@ namespace armarx::control::memory::config
.withProviderSegmentName(controllerType) .withProviderSegmentName(controllerType)
.withEntityName(name) .withEntityName(name)
.withTimestamp(timestamp); .withTimestamp(timestamp);
update.timeCreated = timestamp; update.referencedTime = timestamp;
update.instancesData = {cfg}; update.instancesData = {cfg};
armem::Commit commit; 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