orwell 0.0.0
CompliantController.hpp
1/*
2 Copyright (c) Tobias Löw
3 Written by Tobias Löw <https://tobiloew.ch>
4
5 This file is part of orwell.
6
7 gafro is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 3 as
9 published by the Free Software Foundation.
10
11 gafro is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with gafro. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#pragma once
21
22#include <orwell/torque/TorqueController.hpp>
23
24namespace orwell
25{
26
33 template <int dof>
35 {
36 public:
44 CompliantController(const sackmesser::Interface::Ptr &interface, const std::string &name);
45
50 virtual ~CompliantController();
51
57 Eigen::Vector<double, dof> computeCommand();
58
59 private:
60 };
61
62} // namespace orwell
63
64#include <orwell/torque/CompliantController.hxx>
fully compliant controller for kinesthetic control
Eigen::Vector< double, dof > computeCommand()
computes the control command, essentially only considers gravity compensation
CompliantController(const sackmesser::Interface::Ptr &interface, const std::string &name)
loads configuration parameters
Controller using torque commands.