contact-base.cpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2017 CNRS
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 
19 
20 namespace tsid {
21 namespace contacts {
23  : m_name(name), m_robot(robot) {}
24 
25 const std::string& ContactBase::name() const { return m_name; }
26 
27 void ContactBase::name(const std::string& name) { m_name = name; }
28 
29 } // namespace contacts
30 } // namespace tsid
demo_quadruped.robot
robot
Definition: demo_quadruped.py:51
demo_quadruped.contacts
int contacts
Definition: demo_quadruped.py:98
setup.name
name
Definition: setup.in.py:179
tsid::contacts::ContactBase::name
const std::string & name() const
Definition: contact-base.cpp:25
tsid
Definition: bindings/python/constraint/constraint-bound.cpp:21
tsid::contacts::ContactBase::m_name
std::string m_name
Definition: contact-base.hpp:88
tsid::robots::RobotWrapper
Wrapper for a robot based on pinocchio.
Definition: robots/robot-wrapper.hpp:37
contact-base.hpp
tsid::contacts::ContactBase::ContactBase
ContactBase(const std::string &name, RobotWrapper &robot)
Definition: contact-base.cpp:22


tsid
Author(s): Andrea Del Prete, Justin Carpentier
autogenerated on Thu Apr 3 2025 02:47:15