basic_types.cpp
Go to the documentation of this file.
1
#include "
basic_types.h
"
2
3
namespace
armarx::navigation::core
4
{
5
core::Pose
6
Twist::poseDiff
(
const
float
dt
)
const
7
{
8
return
core::Pose
(Eigen::Translation3f(
linear
*
dt
)) *
9
core::Pose
(Eigen::AngleAxisf(
angular
.norm() *
dt
,
angular
.normalized()));
10
}
11
12
Twist
13
Twist::Zero
()
14
{
15
static
const
core::Twist
zero{Eigen::Vector3f::Zero(), Eigen::Vector3f::Zero()};
16
return
zero;
17
}
18
}
// namespace armarx::navigation::core
armarx::navigation::core::Pose
Eigen::Isometry3f Pose
Definition:
basic_types.h:31
basic_types.h
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::Twist
Definition:
basic_types.h:53
armarx::navigation::core::Twist::linear
LinearVelocity linear
Definition:
basic_types.h:55
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
dt
constexpr T dt
Definition:
UnscentedKalmanFilterTest.cpp:42
armarx
navigation
core
basic_types.cpp
Generated on Sat Oct 12 2024 09:14:15 for armarx_documentation by
1.8.17