smooth_feedback
Control and estimation on Lie groups
Loading...
Searching...
No Matches
common.hpp
1// Copyright (C) 2022 Petter Nilsson. MIT License.
2
3#pragma once
4
5#include <smooth/concepts/manifold.hpp>
6
7namespace smooth::feedback {
8
17template<Manifold M>
19{
20 static_assert(Dof<M> > 0, "Dynamic size not supported");
21
23 Eigen::Matrix<double, -1, Dof<M>> A{Eigen::Matrix<double, -1, Dof<M>>::Zero(0, Dof<M>)};
25 M c{Default<M>()};
27 Eigen::VectorXd l{Eigen::VectorXd::Constant(0, -std::numeric_limits<double>::infinity())};
29 Eigen::VectorXd u{Eigen::VectorXd::Constant(0, std::numeric_limits<double>::infinity())};
30};
31
32} // namespace smooth::feedback
Manifold constraint set.
Definition: common.hpp:19
Eigen::VectorXd u
Upper bound.
Definition: common.hpp:29
Eigen::VectorXd l
Lower bound.
Definition: common.hpp:27
Eigen::Matrix< double, -1, Dof< M > > A
Transformation matrix.
Definition: common.hpp:23
M c
Nominal point in constraint set.
Definition: common.hpp:25