rby1-sdk
Loading...
Searching...
No Matches
se2.h
1#pragma once
2
3#include "Eigen/Core"
4#include "constants.h"
5#include "rby1-sdk/export.h"
6
7namespace rb::math {
8
9class SE2;
10class se2v;
11
12class RBY1_SDK_API se2v {
13 public:
14 using MatrixType = Eigen::Vector3d;
15
16 private:
17 se2v() = default;
18};
19
20class RBY1_SDK_API SE2 {
21 public:
22 using MatrixType = Eigen::Matrix3d;
23
24 static MatrixType Identity();
25
26 static MatrixType T(double angle, const Eigen::Vector<double, 2>& translation = {0, 0});
27
28 static MatrixType Exp(const se2v::MatrixType& s, double angle = 1.0);
29
30 static se2v::MatrixType Log(const MatrixType& T);
31};
32
33} // namespace rb::math
Definition se2.h:20
Definition se2.h:12
Definition log.h:12