29#include <Eigen/Geometry>
31#include <IceUtil/Time.h>
45#include <RobotAPI/libraries/armem_robot_state/aron/Transform.aron.generated.h>
57 ARMARX_DEBUG <<
"TransformWriter: registerPropertyDefinitions";
59 def->optional(properties.coreSegmentID.memoryName, propertyPrefix +
"MemoryName");
60 def->optional(properties.coreSegmentID.coreSegmentName,
61 propertyPrefix +
"LocalizationSegmentName",
62 "Name of the localization memory core segment to use.");
70 << properties.coreSegmentID.memoryName <<
"' ...";
73 memoryWriter = memoryNameSystem.
useWriter(properties.coreSegmentID);
75 << properties.coreSegmentID <<
"'";
86 const ::armarx::armem::robot_state::localization::Transform&
transform)
88 std::lock_guard g{memoryWriterMutex};
98 update.entityID = entityID;
101 arondto::Transform aronTransform;
103 update.instancesData = {aronTransform.toAron()};
MemoryID withProviderSegmentName(const std::string &name) const
MemoryID withEntityName(const std::string &name) const
The memory name system (MNS) client.
Writer useWriter(const MemoryID &memoryID)
Use a memory server and get a writer for it.
Indicates that a query to the Memory Name System failed.
#define ARMARX_IMPORTANT
The logging level for always important information, but expected behaviour (in contrast to ARMARX_WAR...
#define ARMARX_ERROR
The logging level for unexpected behaviour, that must be fixed.
#define ARMARX_DEBUG
The logging level for output that is only interesting while debugging.
void toAron(arondto::ObjectInstance &dto, const RobotState &bo)
armarx::core::time::DateTime Time
auto transform(const Container< InputT, Alloc > &in, OutputT(*func)(InputT const &)) -> Container< OutputT, typename std::allocator_traits< Alloc >::template rebind_alloc< OutputT > >
Convenience function (with less typing) to transform a container of type InputT into the same contain...
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
Result of an EntityUpdate.
An update of an entity for a specific point in time.