src
contacts
measured-force-base.cpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2022 CNRS INRIA LORIA
3
//
4
// This file is part of tsid
5
// tsid is free software: you can redistribute it
6
// and/or modify it under the terms of the GNU Lesser General Public
7
// License as published by the Free Software Foundation, either version
8
// 3 of the License, or (at your option) any later version.
9
// tsid is distributed in the hope that it will be
10
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
11
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
// General Lesser Public License for more details. You should have
13
// received a copy of the GNU Lesser General Public License along with
14
// tsid If not, see
15
// <http://www.gnu.org/licenses/>.
16
//
17
18
#include "
tsid/contacts/measured-force-base.hpp
"
19
20
namespace
tsid
{
21
namespace
contacts
{
22
MeasuredForceBase::MeasuredForceBase
(
const
std::string &
name
,
23
RobotWrapper
&
robot
)
24
: m_name(
name
), m_robot(
robot
) {}
25
26
const
std::string &
MeasuredForceBase::name
()
const
{
return
m_name
; }
27
28
void
MeasuredForceBase::name
(
const
std::string &
name
) {
m_name
=
name
; }
29
30
}
// namespace contacts
31
}
// namespace tsid
tsid::contacts::MeasuredForceBase::MeasuredForceBase
MeasuredForceBase(const std::string &name, RobotWrapper &robot)
Definition:
measured-force-base.cpp:22
demo_quadruped.robot
robot
Definition:
demo_quadruped.py:51
tsid::contacts::MeasuredForceBase::name
const std::string & name() const
Definition:
measured-force-base.cpp:26
demo_quadruped.contacts
int contacts
Definition:
demo_quadruped.py:98
setup.name
name
Definition:
setup.in.py:179
measured-force-base.hpp
tsid
Definition:
bindings/python/constraint/constraint-bound.cpp:21
tsid::robots::RobotWrapper
Wrapper for a robot based on pinocchio.
Definition:
robots/robot-wrapper.hpp:37
tsid::contacts::MeasuredForceBase::m_name
std::string m_name
Definition:
measured-force-base.hpp:51
tsid
Author(s): Andrea Del Prete, Justin Carpentier
autogenerated on Sat May 3 2025 02:48:16