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
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lennard Hofmann
RobotAPI
Commits
abd5e8f2
Commit
abd5e8f2
authored
3 years ago
by
Fabian Reister
Browse files
Options
Downloads
Patches
Plain Diff
BO's for attachments
parent
ae941882
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/RobotAPI/libraries/armem_objects/types.h
+57
-0
57 additions, 0 deletions
source/RobotAPI/libraries/armem_objects/types.h
with
57 additions
and
0 deletions
source/RobotAPI/libraries/armem_objects/types.h
+
57
−
0
View file @
abd5e8f2
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment