Skip to content
Snippets Groups Projects

armem/dev => master

Merged Fabian Reister requested to merge armem/dev into master
1 file
+ 57
0
Compare changes
  • Side-by-side
  • Inline
@@ -23,7 +23,64 @@
#include <vector>
#include <Eigen/Geometry>
#include <RobotAPI/libraries/armem_robot/types.h>
#include <RobotAPI/libraries/armem/core/MemoryID.h>
namespace armarx::armem::attachments
{
using AgentID = armem::MemoryID;
using ObjectID = armem::MemoryID;
struct AgentDescription
{
/**
* @brief id either pointing to a arondto::Robot or arondto::ArticulatedObject
*
*/
AgentID id;
std::string frame;
};
/**
* @brief ObjectAttachment describes a fixed transformation between an agent and an object.
*
* The transformation is defined as follows:
*
* agent.frame -> object root frame
*
*/
struct ObjectAttachment
{
AgentDescription agent;
Eigen::Affine3f transformation;
ObjectID object;
};
/**
* @brief ArticulatedObjectAttachment describes a fixed transformation between an agent and an articulated object.
*
* The transformation is defined as follows:
*
* agent.frame -> object.frame
*
*/
struct ArticulatedObjectAttachment
{
AgentDescription agent;
Eigen::Affine3f transformation;
AgentDescription object;
};
} // namespace armarx::armem::attachments
namespace armarx::armem::articulated_object
{
Loading