Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
RobotAPI
Merge requests
!157
armem/dev => master
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
armem/dev => master
armem/dev
into
master
Overview
3
Commits
202
Pipelines
0
Changes
1
Merged
Fabian Reister
requested to merge
armem/dev
into
master
3 years ago
Overview
3
Commits
202
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
abd5e8f2
Prev
Next
Show latest version
1 file
+
57
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
abd5e8f2
BO's for attachments
· abd5e8f2
Fabian Reister
authored
3 years ago
source/RobotAPI/libraries/armem_objects/types.h
+
57
−
0
Options
@@ -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