Go to the documentation of this file.
38 const std::string& provider,
47 const std::string& provider,
56 const std::string& provider,
64 const std::string& provider,
70 std::vector<armarx::aron::data::dto::DictPtr> humanPosesDto;
71 for (
const HumanPose& humanPose : humanPoses)
73 armarx::human::arondto::HumanPose humanPoseAron;
74 toAron(humanPoseAron, humanPose);
75 humanPosesDto.push_back(humanPoseAron.toAronDTO());
78 core::time::dto::DateTime referencedTimeDto;
79 toIce(referencedTimeDto, referencedTime);
83 humanMemory->commitHumanPosesInCameraFrame(humanPosesDto, provider, referencedTimeDto);
86 catch (
const Ice::Exception& e)
bool commitHumanPoseInCameraFrame(const HumanPose &humanPose, const std::string &provider, const armem::Time &referencedTime)
void toAron(armarx::human::arondto::HumanPose &dto, const HumanPose &bo)
void toIce(data::MemoryID &ice, const MemoryID &id)
bool commitHumanPose(const HumanPose &humanPose, const std::string &provider, const armem::Time &referencedTime)
bool commitHumanPosesInCameraFrame(const std::vector< HumanPose > &humanPoses, const std::string &provider, const armem::Time &referencedTime)
Calls a dedicated interface of the human memory in order to resolve keypoints in several frames given...
Brief description of class memory.
void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &def)
void registerPropertyDefinitions(armarx::PropertyDefinitionsPtr &def)
armem::client::Writer & memoryWriter()
void connect(armarx::armem::client::MemoryNameSystem &mns)
void connect(armem::client::MemoryNameSystem &memoryNameSystem)
Represents a point in time.
void toAron(T &dto, const T &bo)
Framework for converting ARON DTOs (Data Transfer Objects) to C++ BOs (Business Objects) and back.
The memory name system (MNS) client.
bool commitHumanPoses(const std::vector< HumanPose > &humanPoses, const std::string &provider, const armem::Time &referencedTime)