smooth_feedback
Control and estimation on Lie groups
Loading...
Searching...
No Matches
include
smooth
feedback
common.hpp
1
// Copyright (C) 2022 Petter Nilsson. MIT License.
2
3
#pragma once
4
5
#include <smooth/concepts/manifold.hpp>
6
7
namespace
smooth::feedback {
8
17
template
<Manifold M>
18
struct
ManifoldBounds
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
smooth::feedback::ManifoldBounds
Manifold constraint set.
Definition:
common.hpp:19
smooth::feedback::ManifoldBounds::u
Eigen::VectorXd u
Upper bound.
Definition:
common.hpp:29
smooth::feedback::ManifoldBounds::l
Eigen::VectorXd l
Lower bound.
Definition:
common.hpp:27
smooth::feedback::ManifoldBounds::A
Eigen::Matrix< double, -1, Dof< M > > A
Transformation matrix.
Definition:
common.hpp:23
smooth::feedback::ManifoldBounds::c
M c
Nominal point in constraint set.
Definition:
common.hpp:25
Generated by
1.9.5