types.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @author Fabian Reister ( fabian dot reister at kit dot edu )
17
* @date 2021
18
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19
* GNU General Public License
20
*/
21
22
#pragma once
23
24
#include <Eigen/Geometry>
25
26
#include <
RobotAPI/libraries/armem/core/Time.h
>
27
28
29
namespace
armarx::armem::robot_state
30
{
31
struct
TransformHeader
32
{
33
std::string
parentFrame
;
34
std::string
frame
;
35
36
std::string
agent
;
37
38
armem::Time
timestamp
;
39
};
40
41
struct
Transform
42
{
43
TransformHeader
header
;
44
45
Eigen::Affine3f
transform
=
Eigen::Affine3f::Identity
();
46
47
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
48
};
49
50
struct
JointState
51
{
52
std::string
name
;
53
float
position
;
54
};
55
56
}
// namespace armarx::armem::robot_state
armarx::armem::robot_state::JointState
Definition:
types.h:50
armarx::armem::robot_state
Definition:
RobotStatePredictionClient.cpp:42
armarx::armem::robot_state::TransformHeader
Definition:
types.h:31
armarx::armem::robot_state::JointState::position
float position
Definition:
types.h:53
armarx::armem::robot_state::TransformHeader::parentFrame
std::string parentFrame
Definition:
types.h:33
GfxTL::Identity
void Identity(MatrixXX< N, N, T > *a)
Definition:
MatrixXX.h:523
armarx::armem::robot_state::Transform::header
TransformHeader header
Definition:
types.h:43
armarx::armem::robot_state::TransformHeader::frame
std::string frame
Definition:
types.h:34
armarx::armem::robot_state::Transform
Definition:
types.h:41
armarx::armem::robot_state::TransformHeader::timestamp
armem::Time timestamp
Definition:
types.h:38
armarx::armem::robot_state::TransformHeader::agent
std::string agent
Definition:
types.h:36
armarx::core::time::DateTime
Represents a point in time.
Definition:
DateTime.h:24
Time.h
armarx::armem::robot_state::JointState::name
std::string name
Definition:
types.h:52
armarx::armem::robot_state::Transform::transform
Eigen::Affine3f transform
Definition:
types.h:45
RobotAPI
libraries
armem_robot_state
types.h
Generated on Tue Feb 13 2024 06:12:07 for armarx_documentation by
1.8.17