KDL
1.5.3
Toggle main menu visibility
Loading...
Searching...
No Matches
src
velocityprofile_spline.hpp
Go to the documentation of this file.
1
#ifndef VELOCITYPROFILE_SPLINE_H
2
#define VELOCITYPROFILE_SPLINE_H
3
4
#include "
velocityprofile.hpp
"
5
6
namespace
KDL
7
{
12
class
VelocityProfile_Spline
:
public
VelocityProfile
13
{
14
public
:
15
VelocityProfile_Spline
();
16
VelocityProfile_Spline
(
const
VelocityProfile_Spline
&p);
17
18
virtual
~VelocityProfile_Spline
();
19
20
virtual
void
SetProfile
(
double
pos1,
double
pos2);
28
virtual
void
SetProfileDuration
(
29
double
pos1,
double
pos2,
double
duration);
30
40
virtual
void
SetProfileDuration
(
41
double
pos1,
double
vel1,
double
pos2,
double
vel2,
double
duration);
42
54
virtual
void
SetProfileDuration
(
double
pos1,
double
vel1,
double
acc1,
double
pos2,
double
vel2,
double
acc2,
double
duration);
55
virtual
double
Duration
()
const
;
56
virtual
double
Pos
(
double
time)
const
;
57
virtual
double
Vel
(
double
time)
const
;
58
virtual
double
Acc
(
double
time)
const
;
59
virtual
void
Write
(std::ostream& os)
const
;
60
virtual
VelocityProfile
*
Clone
()
const
;
61
private
:
62
63
double
coeff_
[6];
64
double
duration_
;
65
};
66
}
67
#endif
// VELOCITYPROFILE_CUBICSPLINE_H
KDL::VelocityProfile_Spline::SetProfile
virtual void SetProfile(double pos1, double pos2)
Definition
velocityprofile_spline.cpp:51
KDL::VelocityProfile_Spline::~VelocityProfile_Spline
virtual ~VelocityProfile_Spline()
Definition
velocityprofile_spline.cpp:46
KDL::VelocityProfile_Spline::VelocityProfile_Spline
VelocityProfile_Spline()
Definition
velocityprofile_spline.cpp:18
KDL::VelocityProfile_Spline::Acc
virtual double Acc(double time) const
Definition
velocityprofile_spline.cpp:171
KDL::VelocityProfile_Spline::SetProfileDuration
virtual void SetProfileDuration(double pos1, double pos2, double duration)
Generate linear interpolation coefficients.
Definition
velocityprofile_spline.cpp:56
KDL::VelocityProfile_Spline::Write
virtual void Write(std::ostream &os) const
Definition
velocityprofile_spline.cpp:184
KDL::VelocityProfile_Spline::Clone
virtual VelocityProfile * Clone() const
Definition
velocityprofile_spline.cpp:190
KDL::VelocityProfile_Spline::Vel
virtual double Vel(double time) const
Definition
velocityprofile_spline.cpp:157
KDL::VelocityProfile_Spline::Duration
virtual double Duration() const
Definition
velocityprofile_spline.cpp:137
KDL::VelocityProfile_Spline::Pos
virtual double Pos(double time) const
Definition
velocityprofile_spline.cpp:142
KDL::VelocityProfile_Spline::duration_
double duration_
Definition
velocityprofile_spline.hpp:64
KDL::VelocityProfile_Spline::coeff_
double coeff_[6]
Definition
velocityprofile_spline.hpp:63
KDL::VelocityProfile
A VelocityProfile stores the velocity profile that is used within a trajectory.
Definition
velocityprofile.hpp:63
KDL
Definition
articulatedbodyinertia.cpp:26
velocityprofile.hpp
Generated by
1.17.0