Go to the documentation of this file.
3 #include <experimental/memory>
7 #include <SimoxUtility/caching/CacheMap.h>
8 #include <SimoxUtility/shapes/OrientedBox.h>
14 #include <RobotAPI/interface/core/RobotState.h>
15 #include <RobotAPI/interface/objectpose/ObjectPoseStorageInterface.h>
23 #include <RobotAPI/libraries/armem_objects/aron/FamiliarObjectInstance.aron.generated.h>
54 const std::string& prefix =
"calibration.");
64 const std::string& prefix =
"")
override;
68 void commit(
const std::vector<armarx::armem::arondto::FamiliarObjectInstance>&
69 familiarObjectInstances,
70 const std::string& providerName);
73 std::vector<armarx::armem::arondto::FamiliarObjectInstance>
76 std::map<std::string, std::vector<armarx::armem::arondto::FamiliarObjectInstance>>
90 std::map<std::string, VirtualRobot::RobotPtr>
loaded;
93 const std::string& providerName =
"");
116 static const std::string timestampPlaceholder;
Models decay of object localizations by decreasing the confidence the longer the object was not local...
std::vector< armarx::armem::arondto::FamiliarObjectInstance > getFamiliarObjects(const DateTime &now)
std::map< std::string, std::vector< armarx::armem::arondto::FamiliarObjectInstance > > getFamiliarObjectsByProvider(const DateTime &now)
Segment(server::MemoryToIceAdapter &iceMemory)
A base class for core segments.
std::vector< ObjectPose > ObjectPoseSeq
objpose::ObjectPoseSeq ObjectPoseSeq
Helps connecting a Memory server to the Ice interface.
friend struct DetachVisitor
void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override
void connect(viz::Client arviz)
virtual ~Segment() override
objpose::ProviderInfoMap providers
Used to find objects in the ArmarX objects repository [1] (formerly [2]).
std::experimental::observer_ptr< robot_state::VirtualRobotReader > reader
std::map< std::string, VirtualRobot::RobotPtr > loaded
void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="calibration.")
Loaded robot models identified by the robot name.
Represents a point in time.
Base Class for all Logging classes.
MemoryToIceAdapter & iceMemory
void commit(const std::vector< armarx::armem::arondto::FamiliarObjectInstance > &familiarObjectInstances, const std::string &providerName)
std::map< ObjectID, ObjectPose > ObjectPoseMap
ObjectFinder objectFinder
An object pose as stored by the ObjectPoseStorage.
std::shared_ptr< class Robot > RobotPtr
VirtualRobot::RobotPtr get(const std::string &robotName, const std::string &providerName="")