DampingTask.h
Go to the documentation of this file.
1
/*
2
* Copyright 2015-2019 CNRS-UM LIRMM, CNRS-AIST JRL
3
*/
4
5
#pragma once
6
7
#include <
mc_tasks/AdmittanceTask.h
>
8
9
namespace
mc_tasks
10
{
11
12
namespace
force
13
{
14
36
struct
MC_TASKS_DLLAPI
DampingTask
:
AdmittanceTask
37
{
38
public
:
39
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
40
52
DampingTask
(
const
mc_rbdyn::RobotFrame
& frame,
double
stiffness = 5.0,
double
weight = 1000.0);
53
71
DampingTask
(
const
std::string & robotSurface,
72
const
mc_rbdyn::Robots
& robots,
73
unsigned
robotIndex,
74
double
stiffness = 5.0,
75
double
weight = 1000.0);
76
77
protected
:
78
void
update(
mc_solver::QPSolver
&)
override
;
79
};
80
81
}
// namespace force
82
83
}
// 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
AdmittanceTask.h
mc_tasks::force::DampingTask
Hybrid position-force control on a contacting end-effector.
Definition:
DampingTask.h:36
mc_rbdyn::RobotFrame
Definition:
RobotFrame.h:21
mc_tasks::force::AdmittanceTask
Hybrid position-force control on a contacting end-effector.
Definition:
AdmittanceTask.h:38
mc_tasks
Definition:
StabilizerStandingState.h:11
include
mc_tasks
DampingTask.h
Generated by
1.8.17