UpdateNrVars.h
Go to the documentation of this file.
1
/*
2
* Copyright 2015-2022 CNRS-UM LIRMM, CNRS-AIST JRL
3
*/
4
5
#pragma once
6
7
#include <
mc_solver/api.h
>
8
9
#include <Tasks/QPSolver.h>
10
11
namespace
mc_solver
12
{
13
14
namespace
utils
15
{
16
18
struct
MC_SOLVER_DLLAPI
UpdateNrVarsData
19
{
20
protected
:
21
int
nrVars_
;
22
int
ABegin_
;
23
};
24
26
struct
MC_SOLVER_DLLAPI
UpdateNrVarsRobot
:
public
UpdateNrVarsData
27
{
28
protected
:
29
explicit
UpdateNrVarsRobot
(
unsigned
int
rIndex);
30
31
void
updateNrVarsImpl(
const
std::vector<rbd::MultiBody> & mbs,
const
tasks::qp::SolverData & data);
32
33
unsigned
int
rIndex_
;
34
};
35
37
struct
MC_SOLVER_DLLAPI
UpdateNrVarsLambda
:
public
UpdateNrVarsData
38
{
39
protected
:
40
explicit
UpdateNrVarsLambda
(
const
tasks::qp::ContactId & cid);
41
42
void
updateNrVarsImpl(
const
std::vector<rbd::MultiBody> & mbs,
const
tasks::qp::SolverData & data);
43
44
tasks::qp::ContactId
cid_
;
45
};
46
47
}
// namespace utils
48
49
}
// namespace mc_solver
mc_solver::utils::UpdateNrVarsData
Definition:
UpdateNrVars.h:18
mc_solver::utils::UpdateNrVarsData::ABegin_
int ABegin_
Definition:
UpdateNrVars.h:22
mc_solver::utils::UpdateNrVarsRobot
Definition:
UpdateNrVars.h:26
api.h
mc_solver::utils::UpdateNrVarsLambda
Definition:
UpdateNrVars.h:37
mc_solver::utils::UpdateNrVarsData::nrVars_
int nrVars_
Definition:
UpdateNrVars.h:21
mc_solver
Definition:
Contact.h:17
MC_SOLVER_DLLAPI
#define MC_SOLVER_DLLAPI
Definition:
api.h:50
mc_solver::utils::UpdateNrVarsRobot::rIndex_
unsigned int rIndex_
Definition:
UpdateNrVars.h:33
mc_solver::utils::UpdateNrVarsLambda::cid_
tasks::qp::ContactId cid_
Definition:
UpdateNrVars.h:44
include
mc_solver
utils
UpdateNrVars.h
Generated by
1.8.17