From ebd192743e97554817bec52458551ca3dadc2112 Mon Sep 17 00:00:00 2001 From: Fabian Reister <fabian.reister@kit.edu> Date: Sat, 19 Nov 2022 22:33:05 +0100 Subject: [PATCH] updating human query from memory --- .../components/handover_target_provider/Component.cpp | 2 +- .../components/person_target_provider/Component.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/armarx/view_selection/components/handover_target_provider/Component.cpp b/source/armarx/view_selection/components/handover_target_provider/Component.cpp index 72d7815..79f02e0 100644 --- a/source/armarx/view_selection/components/handover_target_provider/Component.cpp +++ b/source/armarx/view_selection/components/handover_target_provider/Component.cpp @@ -219,7 +219,7 @@ namespace armarx::view_selection::components::handover_target_provider const armem::human::client::Reader::Query query { - .providerName = properties_.humanPoseProviderName, .timestamp = timestamp, .maxAge = Duration::MilliSeconds(500) + .providerName = properties_.humanPoseProviderName, .timestamp = timestamp, .maxAge = Duration::MilliSeconds(1500) }; const armem::human::client::Reader::Result result = diff --git a/source/armarx/view_selection/components/person_target_provider/Component.cpp b/source/armarx/view_selection/components/person_target_provider/Component.cpp index 40a0b94..d6a2549 100644 --- a/source/armarx/view_selection/components/person_target_provider/Component.cpp +++ b/source/armarx/view_selection/components/person_target_provider/Component.cpp @@ -160,7 +160,7 @@ namespace armarx::view_selection::components::person_target_provider armarx::armem::human::client::Reader::Query query{ .providerName = properties.providerName, .timestamp = armarx::Clock::Now(), - .maxAge = Duration::MilliSeconds(500) + .maxAge = Duration::MilliSeconds(3000) }; armarx::core::time::StopWatch sw; auto result = humanPoseReaderPlugin->get().query(query); -- GitLab