FirstOrderImpedanceTask.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015-2023 CNRS-UM LIRMM, CNRS-AIST JRL
3  */
4 
5 #pragma once
6 
8 
9 namespace mc_tasks
10 {
11 
12 namespace force
13 {
14 
17 {
18 public:
19  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
20 
30  FirstOrderImpedanceTask(const std::string & surfaceName,
31  const mc_rbdyn::Robots & robots,
32  unsigned robotIndex,
33  double stiffness = 5.0,
34  double weight = 1000.0);
35 
43  FirstOrderImpedanceTask(const mc_rbdyn::RobotFrame & Frame, double stiffness = 5.0, double weight = 1000.0);
44 
46  void update(mc_solver::QPSolver & solver) override;
47 };
48 
49 } // namespace force
50 
51 } // namespace mc_tasks
#define MC_TASKS_DLLAPI
Definition: api.h:50
Definition: StabilizerStandingState.h:12
Definition: RobotFrame.h:22
Definition: Robots.h:16
Definition: QPSolver.h:86
Impedance-based damping control of the end-effector.
Definition: FirstOrderImpedanceTask.h:17
void update(mc_solver::QPSolver &solver) override
Update task.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW FirstOrderImpedanceTask(const std::string &surfaceName, const mc_rbdyn::Robots &robots, unsigned robotIndex, double stiffness=5.0, double weight=1000.0)
Constructor.
FirstOrderImpedanceTask(const mc_rbdyn::RobotFrame &Frame, double stiffness=5.0, double weight=1000.0)
Constructor.
Impedance control of the end-effector.
Definition: ImpedanceTask.h:53