include
tsid
trajectories
trajectories/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
21
#include <
tsid/trajectories/trajectory-base.hpp
>
22
23
namespace
tsid
{
24
namespace
trajectories {
25
26
class
TrajectoryEuclidianConstant
:
public
TrajectoryBase
{
27
public
:
28
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
29
30
typedef
math::Vector
Vector
;
31
typedef
math::ConstRefVector
ConstRefVector
;
32
33
TrajectoryEuclidianConstant
(
const
std::string&
name
);
34
35
TrajectoryEuclidianConstant
(
const
std::string&
name
,
ConstRefVector
ref);
36
37
unsigned
int
size
()
const override
;
38
39
void
setReference
(
ConstRefVector
ref);
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
:
50
Vector
m_ref
;
51
};
52
53
}
// namespace trajectories
54
}
// namespace tsid
55
56
#endif // ifndef __invdyn_trajectory_euclidian_hpp__
tsid::trajectories::TrajectoryEuclidianConstant::computeNext
const TrajectorySample & computeNext() override
Definition:
src/trajectories/trajectory-euclidian.cpp:46
tsid::trajectories::TrajectoryEuclidianConstant::m_ref
Vector m_ref
Definition:
trajectories/trajectory-euclidian.hpp:50
tsid::trajectories::TrajectorySample
Definition:
trajectories/trajectory-base.hpp:33
tsid::trajectories::TrajectoryEuclidianConstant
Definition:
trajectories/trajectory-euclidian.hpp:26
tsid::trajectories::TrajectoryEuclidianConstant::Vector
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef math::Vector Vector
Definition:
trajectories/trajectory-euclidian.hpp:30
tsid::trajectories::TrajectoryBase
Definition:
trajectories/trajectory-base.hpp:74
tsid::trajectories::TrajectoryEuclidianConstant::has_trajectory_ended
bool has_trajectory_ended() const override
Definition:
src/trajectories/trajectory-euclidian.cpp:55
trajectory-base.hpp
tsid::trajectories::TrajectoryEuclidianConstant::setReference
void setReference(ConstRefVector ref)
Definition:
src/trajectories/trajectory-euclidian.cpp:33
tsid::trajectories::TrajectoryEuclidianConstant::ConstRefVector
math::ConstRefVector ConstRefVector
Definition:
trajectories/trajectory-euclidian.hpp:31
setup.name
name
Definition:
setup.in.py:179
tsid::math::ConstRefVector
const typedef Eigen::Ref< const Vector > ConstRefVector
Definition:
math/fwd.hpp:48
tsid::math::Vector
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
Definition:
math/fwd.hpp:35
tsid::trajectories::TrajectoryEuclidianConstant::operator()
const TrajectorySample & operator()(double time) override
Definition:
src/trajectories/trajectory-euclidian.cpp:42
test_Tasks.sample
sample
Definition:
test_Tasks.py:47
tsid::trajectories::TrajectoryEuclidianConstant::size
unsigned int size() const override
Definition:
src/trajectories/trajectory-euclidian.cpp:38
demo_quadruped.time
time
Definition:
demo_quadruped.py:213
tsid::trajectories::TrajectoryEuclidianConstant::TrajectoryEuclidianConstant
TrajectoryEuclidianConstant(const std::string &name)
Definition:
src/trajectories/trajectory-euclidian.cpp:23
tsid
Definition:
bindings/python/constraint/constraint-bound.cpp:21
tsid::trajectories::TrajectoryBase::getLastSample
virtual const TrajectorySample & getLastSample() const
Definition:
trajectories/trajectory-base.hpp:88
tsid
Author(s): Andrea Del Prete, Justin Carpentier
autogenerated on Sat May 3 2025 02:48:17