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
mc_rbdyn::Robots
Definition: Robots.h:15
MC_TASKS_DLLAPI
#define MC_TASKS_DLLAPI
Definition: api.h:50
mc_solver::QPSolver
Definition: QPSolver.h:85
mc_tasks::force::FirstOrderImpedanceTask
Impedance-based damping control of the end-effector.
Definition: FirstOrderImpedanceTask.h:16
mc_rbdyn::RobotFrame
Definition: RobotFrame.h:21
ImpedanceTask.h
mc_tasks::force::ImpedanceTask
Impedance control of the end-effector.
Definition: ImpedanceTask.h:52
mc_tasks
Definition: StabilizerStandingState.h:11