basic_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 <vector>
25
26#include <Eigen/Core>
27#include <Eigen/Geometry>
28
30{
31 using Pose = Eigen::Isometry3f;
32 using Pose_d = Eigen::Isometry3d;
33
34 using Pose2D = Eigen::Isometry2f;
35
36 using Position = Eigen::Vector3f;
37 using Positions = std::vector<Position>;
38
39 using Direction = Eigen::Vector3f;
40
41 using Rotation = Eigen::Matrix3f;
42
43 using LinearVelocity = Eigen::Vector3f;
44 using AngularVelocity = Eigen::Vector3f;
45
46 using Path = std::vector<Pose>;
47
48 struct Waypoint
49 {
51 };
52
53 struct Twist
54 {
55 LinearVelocity linear = LinearVelocity::Zero();
56 AngularVelocity angular = AngularVelocity::Zero();
57
58 Pose poseDiff(float dt) const;
59
60 static Twist Zero();
61 };
62
63} // namespace armarx::navigation::core
constexpr T dt
This file is part of ArmarX.
Eigen::Matrix3f Rotation
Definition basic_types.h:41
std::vector< Position > Positions
Definition basic_types.h:37
Eigen::Isometry2f Pose2D
Definition basic_types.h:34
Eigen::Vector3f Direction
Definition basic_types.h:39
Eigen::Vector3f LinearVelocity
Definition basic_types.h:43
Eigen::Isometry3f Pose
Definition basic_types.h:31
Eigen::Isometry3d Pose_d
Definition basic_types.h:32
Eigen::Vector3f Position
Definition basic_types.h:36
std::vector< Pose > Path
Definition basic_types.h:46
Eigen::Vector3f AngularVelocity
Definition basic_types.h:44
Pose poseDiff(float dt) const