ContactWrenchMatrixToLambdaMatrix.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/QPSolver.h
>
8
#include <
mc_solver/api.h
>
9
10
namespace
mc_solver
11
{
12
13
namespace
utils
14
{
15
108
struct
MC_SOLVER_DLLAPI
ContactWrenchMatrixToLambdaMatrix
109
{
114
ContactWrenchMatrixToLambdaMatrix
(
const
mc_solver::QPSolver
& solver,
const
tasks::qp::ContactId & cid);
115
117
inline
Eigen::MatrixXd
transform
(
const
Eigen::MatrixXd & A)
const
{
return
A * transform_; }
118
119
const
Eigen::MatrixXd &
transform
()
const
{
return
transform_; }
120
121
private
:
122
Eigen::MatrixXd transform_;
123
};
124
125
}
// namespace utils
126
127
}
// namespace mc_solver
mc_solver::utils::ContactWrenchMatrixToLambdaMatrix::transform
const Eigen::MatrixXd & transform() const
Definition:
ContactWrenchMatrixToLambdaMatrix.h:119
mc_solver::QPSolver
Definition:
QPSolver.h:85
api.h
mc_solver
Definition:
Contact.h:17
MC_SOLVER_DLLAPI
#define MC_SOLVER_DLLAPI
Definition:
api.h:50
mc_solver::utils::ContactWrenchMatrixToLambdaMatrix::transform
Eigen::MatrixXd transform(const Eigen::MatrixXd &A) const
Definition:
ContactWrenchMatrixToLambdaMatrix.h:117
mc_solver::utils::ContactWrenchMatrixToLambdaMatrix
Definition:
ContactWrenchMatrixToLambdaMatrix.h:108
QPSolver.h
include
mc_solver
utils
ContactWrenchMatrixToLambdaMatrix.h
Generated by
1.8.17