tasks/task-actuation-bounds.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2017 CNRS
3 //
4 // This file is part of tsid
5 // tsid is free software: you can redistribute it
6 // and/or modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation, either version
8 // 3 of the License, or (at your option) any later version.
9 // tsid is distributed in the hope that it will be
10 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
11 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // General Lesser Public License for more details. You should have
13 // received a copy of the GNU Lesser General Public License along with
14 // tsid If not, see
15 // <http://www.gnu.org/licenses/>.
16 //
17 
18 #ifndef __invdyn_task_actuation_bounds_hpp__
19 #define __invdyn_task_actuation_bounds_hpp__
20 
24 
25 namespace tsid {
26 namespace tasks {
27 
29  public:
30  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
31 
32  typedef math::Index Index;
38 
39  TaskActuationBounds(const std::string& name, RobotWrapper& robot);
40 
41  int dim() const override;
42 
44  Data& data) override;
45 
46  const ConstraintBase& getConstraint() const override;
47 
48  void setBounds(ConstRefVector lower, ConstRefVector upper);
49  const Vector& getLowerBounds() const;
50  const Vector& getUpperBounds() const;
51 
52  const Vector& mask() const;
53  void mask(const Vector& mask);
54 
55  protected:
59 };
60 
61 } // namespace tasks
62 } // namespace tsid
63 
64 #endif // ifndef __invdyn_task_actuation_bounds_hpp__
tsid::tasks::TaskActuationBounds::TrajectorySample
trajectories::TrajectorySample TrajectorySample
Definition: tasks/task-actuation-bounds.hpp:33
demo_quadruped.v
v
Definition: demo_quadruped.py:80
tsid::tasks::TaskActuationBounds::VectorXi
math::VectorXi VectorXi
Definition: tasks/task-actuation-bounds.hpp:35
tsid::trajectories::TrajectorySample
Definition: trajectories/trajectory-base.hpp:33
pinocchio::DataTpl
tsid::tasks::TaskActuationBounds::dim
int dim() const override
Return the dimension of the task. \info should be overloaded in the child class.
Definition: src/tasks/task-actuation-bounds.cpp:57
tsid::tasks::TaskActuationBounds::ConstraintInequality
math::ConstraintInequality ConstraintInequality
Definition: tasks/task-actuation-bounds.hpp:36
tsid::math::ConstraintBase
Abstract class representing a linear equality/inequality constraint. Equality constraints are represe...
Definition: constraint-base.hpp:35
tsid::tasks::TaskActuationBounds
Definition: tasks/task-actuation-bounds.hpp:28
setup.data
data
Definition: setup.in.py:48
demo_quadruped.robot
robot
Definition: demo_quadruped.py:51
tsid::tasks::TaskActuationBounds::m_activeAxes
VectorXi m_activeAxes
Definition: tasks/task-actuation-bounds.hpp:57
tsid::tasks::TaskActuationBounds::m_mask
Vector m_mask
Definition: tasks/task-actuation-bounds.hpp:56
tsid::tasks::TaskActuationBounds::getUpperBounds
const Vector & getUpperBounds() const
Definition: src/tasks/task-actuation-bounds.cpp:63
trajectory-base.hpp
demo_quadruped.q
q
Definition: demo_quadruped.py:74
tsid::tasks::TaskActuationBounds::Vector
math::Vector Vector
Definition: tasks/task-actuation-bounds.hpp:34
tsid::tasks::TaskActuationBounds::getLowerBounds
const Vector & getLowerBounds() const
Definition: src/tasks/task-actuation-bounds.cpp:59
tsid::math::Index
std::size_t Index
Definition: math/fwd.hpp:53
tsid::math::VectorXi
Eigen::VectorXi VectorXi
Definition: math/fwd.hpp:37
tsid::tasks::TaskActuationBounds::getConstraint
const ConstraintBase & getConstraint() const override
Definition: src/tasks/task-actuation-bounds.cpp:81
tsid::math::ConstraintInequality
Definition: math/constraint-inequality.hpp:26
tsid::tasks::TaskActuationBounds::compute
const ConstraintBase & compute(double t, ConstRefVector q, ConstRefVector v, Data &data) override
Definition: src/tasks/task-actuation-bounds.cpp:85
tsid::math::Vector
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
Definition: math/fwd.hpp:35
constraint-inequality.hpp
tsid::tasks::TaskActuationBounds::Data
pinocchio::Data Data
Definition: tasks/task-actuation-bounds.hpp:37
tsid::tasks::TaskActuationBounds::m_constraint
ConstraintInequality m_constraint
Definition: tasks/task-actuation-bounds.hpp:58
tsid::tasks::TaskActuationBounds::TaskActuationBounds
TaskActuationBounds(const std::string &name, RobotWrapper &robot)
Definition: src/tasks/task-actuation-bounds.cpp:27
tsid
Definition: bindings/python/constraint/constraint-bound.cpp:21
tsid::tasks::TaskActuation
Definition: task-actuation.hpp:25
tsid::robots::RobotWrapper
Wrapper for a robot based on pinocchio.
Definition: robots/robot-wrapper.hpp:37
tsid::tasks::TaskBase::name
const std::string & name() const
Definition: task-base.cpp:25
tsid::tasks::TaskActuationBounds::Index
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Index Index
Definition: tasks/task-actuation-bounds.hpp:32
task-actuation.hpp
t
Transform3f t
tsid::tasks::TaskActuationBounds::setBounds
void setBounds(ConstRefVector lower, ConstRefVector upper)
Definition: src/tasks/task-actuation-bounds.cpp:67
tsid::tasks::TaskActuationBounds::mask
const Vector & mask() const
Definition: src/tasks/task-actuation-bounds.cpp:34
tsid::tasks::TaskBase::ConstRefVector
math::ConstRefVector ConstRefVector
Definition: task-base.hpp:39


tsid
Author(s): Andrea Del Prete, Justin Carpentier
autogenerated on Thu Apr 3 2025 02:47:16