hpp-core  4.9.0
Implement basic classes for canonical path planning for kinematic chains.
time-parameterization.hh
Go to the documentation of this file.
1 // Copyright (c) 2017, Joseph Mirabel
2 // Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
3 //
4 // This file is part of hpp-core.
5 // hpp-core 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 //
10 // hpp-core is distributed in the hope that it will be
11 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // General Lesser Public License for more details. You should have
14 // received a copy of the GNU Lesser General Public License along with
15 // hpp-core. If not, see <http://www.gnu.org/licenses/>.
16 
17 #ifndef HPP_CORE_TIME_PARAMETERIZATION_HH
18 # define HPP_CORE_TIME_PARAMETERIZATION_HH
19 
20 # include <hpp/core/fwd.hh>
21 # include <hpp/core/config.hh>
22 
23 namespace hpp {
24  namespace core {
25  class HPP_CORE_DLLAPI TimeParameterization
26  {
27  public:
28  virtual value_type value (const value_type& t) const = 0;
29  virtual value_type derivative (const value_type& t, const size_type& order) const = 0;
30  virtual value_type derivativeBound (const value_type& low, const value_type& up) const
31  {
32  (void) low;
33  (void) up;
34  throw std::logic_error("not implemented");
35  }
36 
37  virtual TimeParameterizationPtr_t copy () const = 0;
38  }; // class TimeParameterization
39  } // namespace core
40 } // namespace hpp
41 #endif // HPP_CORE_TIME_PARAMETERIZATION_HH
pinocchio::size_type size_type
Definition: fwd.hh:156
Definition: time-parameterization.hh:25
pinocchio::value_type value_type
Definition: fwd.hh:157
boost::shared_ptr< TimeParameterization > TimeParameterizationPtr_t
Definition: fwd.hh:172
Transform3f t
virtual value_type derivativeBound(const value_type &low, const value_type &up) const
Definition: time-parameterization.hh:30