GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: src/contacts/measured-force-base.cpp Lines: 0 5 0.0 %
Date: 2024-02-02 08:47:34 Branches: 0 0 - %

Line Branch Exec Source
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