basic_types.cpp
Go to the documentation of this file.
1 #include "basic_types.h"
2 
4 {
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
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