tsid 1.9.0
Efficient Task Space Inverse Dynamics for Multi-body Systems based on Pinocchio
Loading...
Searching...
No Matches
measured-force-base.hpp
Go to the documentation of this file.
1//
2// Copyright (c) 2022 CNRS INRIA LORIA
3//
4
5#ifndef __invdyn_measured_force_base_hpp__
6#define __invdyn_measured_force_base_hpp__
7
8#include <pinocchio/multibody/fwd.hpp>
9
10#include "tsid/math/fwd.hpp"
11#include "tsid/robots/fwd.hpp"
12
13namespace tsid {
14namespace contacts {
16 public:
17 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
18
20 typedef pinocchio::Data Data;
22
23 MeasuredForceBase(const std::string& name, RobotWrapper& robot);
24
25 virtual ~MeasuredForceBase() = default;
26
27 const std::string& name() const;
28
29 void name(const std::string& name);
30
35 virtual const Vector& computeJointTorques(Data& data) = 0;
36
37 protected:
38 std::string m_name;
39
42};
43} // namespace contacts
44} // namespace tsid
45
46#endif // ifndef __invdyn_measured_force_base_hpp__
RobotWrapper & m_robot
Reference on the robot model.
Definition measured-force-base.hpp:41
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Vector Vector
Definition measured-force-base.hpp:19
virtual ~MeasuredForceBase()=default
virtual const Vector & computeJointTorques(Data &data)=0
robots::RobotWrapper RobotWrapper
Definition measured-force-base.hpp:21
pinocchio::Data Data
Definition measured-force-base.hpp:20
MeasuredForceBase(const std::string &name, RobotWrapper &robot)
Definition measured-force-base.cpp:9
const std::string & name() const
Definition measured-force-base.cpp:13
std::string m_name
Definition measured-force-base.hpp:38
Wrapper for a robot based on pinocchio.
Definition robot-wrapper.hpp:37
Definition contact-6d.hpp:15
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
Definition fwd.hpp:22
Definition constraint-bound.hpp:25