Franky 0.12.0
A High-Level Motion API for Franka
Loading...
Searching...
No Matches
types.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4#include <variant>
5
6#include <Eigen/Geometry>
7#include <unsupported/Eigen/EulerAngles>
8
9namespace franky {
10
11using Vector6d = Eigen::Vector<double, 6>;
12using Vector7d = Eigen::Vector<double, 7>;
13using Jacobian = Eigen::Matrix<double, 6, 7>;
14using IntertiaMatrix = Eigen::Matrix<double, 3, 3>;
15
16using Affine = Eigen::Affine3d;
17
18template<size_t dims>
19using Array = std::variant<std::array<double, dims>, Eigen::Vector<double, dims>>;
20
21template<size_t dims>
22using ScalarOrArray = std::variant<double, Array<dims>>;
23
24}
Definition dynamics_limit.cpp:8
Eigen::Matrix< double, 3, 3 > IntertiaMatrix
Definition types.hpp:14
Eigen::Vector< double, 7 > Vector7d
Definition types.hpp:12
Eigen::Vector< double, 6 > Vector6d
Definition types.hpp:11
Eigen::Matrix< double, 6, 7 > Jacobian
Definition types.hpp:13
std::variant< double, Array< dims > > ScalarOrArray
Definition types.hpp:22
std::variant< std::array< double, dims >, Eigen::Vector< double, dims > > Array
Definition types.hpp:19
Eigen::Affine3d Affine
Definition types.hpp:16