Go to the documentation of this file.
29 #include <VirtualRobot/Nodes/RobotNode.h>
30 #include <VirtualRobot/XML/RobotIO.h>
44 def->topic<armarx::OpenPose3DListener>(
"OpenPoseEstimation3D");
66 for (
unsigned int i = 0; i < kpml.size(); ++i)
68 memoryx::Body25HumanPoseEvent human_pose_event;
69 human_pose_event.receivedInMs = time.toMilliSecondsDouble();
71 for (
const auto& [key,
value] : kpml[i])
73 memoryx::HumanKeypoint kp;
74 if (key ==
"Background")
79 kp.label =
value.label;
83 kp.globalX =
value.globalX;
84 kp.globalY =
value.globalY;
85 kp.globalZ =
value.globalZ;
86 kp.confidence =
value.confidence;
87 human_pose_event.keypoints[key] = kp;
void onInitComponent()
Pure virtual hook for the subclass.
std::shared_ptr< Value > value()
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
memoryx::SimpleEpisodicMemoryInterface::ProxyType m_simple_episodic_memory
void report3DKeypoints(const armarx::Keypoint3DMapList &, long, const Ice::Current &)
armarx::core::time::DateTime Time
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
Default component property definition container.
void onConnectComponent()
Pure virtual hook for the subclass.
std::string m_simple_episodic_memory_proxy_name
Ice::ObjectPrx getProxy(long timeoutMs=0, bool waitForScheduler=true) const
Returns the proxy of this object (optionally it waits for the proxy)
bool usingProxy(const std::string &name, const std::string &endpoints="")
Registers a proxy for retrieval after initialization and adds it to the dependency list.