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 
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  {
57 
58  Pose poseDiff(float dt) const;
59 
60  static Twist Zero();
61  };
62 
63 } // namespace armarx::navigation::core
armarx::navigation::core::Waypoint::pose
Pose pose
Definition: basic_types.h:50
armarx::navigation::core::Rotation
Eigen::Matrix3f Rotation
Definition: basic_types.h:41
armarx::navigation::core::Pose
Eigen::Isometry3f Pose
Definition: basic_types.h:31
armarx::navigation::core::Twist::Zero
static Twist Zero()
Definition: basic_types.cpp:13
armarx::navigation::core
This file is part of ArmarX.
Definition: aron_conversions.cpp:13
armarx::navigation::core::Pose_d
Eigen::Isometry3d Pose_d
Definition: basic_types.h:32
armarx::navigation::core::AngularVelocity
Eigen::Vector3f AngularVelocity
Definition: basic_types.h:44
armarx::navigation::core::Pose2D
Eigen::Isometry2f Pose2D
Definition: basic_types.h:34
armarx::navigation::core::Twist
Definition: basic_types.h:53
armarx::navigation::core::Waypoint
Definition: basic_types.h:48
armarx::navigation::core::Twist::linear
LinearVelocity linear
Definition: basic_types.h:55
GfxTL::Matrix3f
MatrixXX< 3, 3, float > Matrix3f
Definition: MatrixXX.h:600
armarx::navigation::core::Positions
std::vector< Position > Positions
Definition: basic_types.h:37
armarx::navigation::core::Path
std::vector< Pose > Path
Definition: basic_types.h:46
armarx::navigation::core::Direction
Eigen::Vector3f Direction
Definition: basic_types.h:39
armarx::navigation::core::Twist::angular
AngularVelocity angular
Definition: basic_types.h:56
armarx::navigation::core::Twist::poseDiff
Pose poseDiff(float dt) const
Definition: basic_types.cpp:6
armarx::navigation::core::Position
Eigen::Vector3f Position
Definition: basic_types.h:36
armarx::navigation::core::LinearVelocity
Eigen::Vector3f LinearVelocity
Definition: basic_types.h:43
dt
constexpr T dt
Definition: UnscentedKalmanFilterTest.cpp:42