tsid 1.9.0
Efficient Task Space Inverse Dynamics for Multi-body Systems based on Pinocchio
Loading...
Searching...
No Matches
trajectory-euclidian.hpp
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
18#ifndef __invdyn_trajectory_euclidian_hpp__
19#define __invdyn_trajectory_euclidian_hpp__
20
22
23namespace tsid {
24namespace trajectories {
25
27 public:
28 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
29
32
33 TrajectoryEuclidianConstant(const std::string& name);
34
35 TrajectoryEuclidianConstant(const std::string& name, ConstRefVector ref);
36
37 unsigned int size() const override;
38
40
41 const TrajectorySample& operator()(double time) override;
42
43 const TrajectorySample& computeNext() override;
44
45 void getLastSample(TrajectorySample& sample) const override;
46
47 bool has_trajectory_ended() const override;
48
49 protected:
51};
52
53} // namespace trajectories
54} // namespace tsid
55
56#endif // ifndef __invdyn_trajectory_euclidian_hpp__
virtual const TrajectorySample & getLastSample() const
Definition trajectory-base.hpp:88
EIGEN_MAKE_ALIGNED_OPERATOR_NEW TrajectoryBase(const std::string &name)
Definition trajectory-base.hpp:78
void setReference(ConstRefVector ref)
Definition trajectory-euclidian.cpp:20
Vector m_ref
Definition trajectory-euclidian.hpp:50
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Vector Vector
Definition trajectory-euclidian.hpp:30
TrajectoryEuclidianConstant(const std::string &name)
Definition trajectory-euclidian.cpp:10
unsigned int size() const override
Definition trajectory-euclidian.cpp:25
math::ConstRefVector ConstRefVector
Definition trajectory-euclidian.hpp:31
const TrajectorySample & operator()(double time) override
Definition trajectory-euclidian.cpp:29
bool has_trajectory_ended() const override
Definition trajectory-euclidian.cpp:42
const TrajectorySample & computeNext() override
Definition trajectory-euclidian.cpp:33
Definition trajectory-base.hpp:33
const Eigen::Ref< const Vector > ConstRefVector
Definition fwd.hpp:35
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
Definition fwd.hpp:22
Definition fwd.hpp:22
Definition constraint-bound.hpp:25