Cheetah Software
1.0
Main Page
Namespaces
Classes
Files
File List
File Members
FootSwingTrajectory.h
Go to the documentation of this file.
1
6
#ifndef CHEETAH_SOFTWARE_FOOTSWINGTRAJECTORY_H
7
#define CHEETAH_SOFTWARE_FOOTSWINGTRAJECTORY_H
8
9
#include "
cppTypes.h
"
10
11
template
<
typename
T>
12
class
FootSwingTrajectory
{
13
public
:
14
FootSwingTrajectory
() {
15
_p0
.setZero();
16
_pf
.setZero();
17
_p
.setZero();
18
_v
.setZero();
19
_a
.setZero();
20
_height
= 0;
21
}
22
23
void
setInitialPosition
(
Vec3<T>
p0) {
24
_p0
= p0;
25
}
26
27
void
setFinalPosition
(
Vec3<T>
pf) {
28
_pf
= pf;
29
}
30
31
void
setHeight
(T h) {
32
_height
= h;
33
}
34
35
void
computeSwingTrajectoryBezier
(T phase, T swingTime);
36
37
Vec3<T>
getPosition
() {
38
return
_p
;
39
}
40
41
Vec3<T>
getVelocity
() {
42
return
_v
;
43
}
44
45
Vec3<T>
getAcceleration
() {
46
return
_a
;
47
}
48
49
private
:
50
Vec3<T>
_p0
,
_pf
,
_p
,
_v
,
_a
;
51
T
_height
;
52
};
53
54
55
#endif //CHEETAH_SOFTWARE_FOOTSWINGTRAJECTORY_H
FootSwingTrajectory::_p0
Vec3< T > _p0
Definition:
FootSwingTrajectory.h:50
FootSwingTrajectory::getAcceleration
Vec3< T > getAcceleration()
Definition:
FootSwingTrajectory.h:45
FootSwingTrajectory::_v
Vec3< T > _v
Definition:
FootSwingTrajectory.h:50
FootSwingTrajectory::setInitialPosition
void setInitialPosition(Vec3< T > p0)
Definition:
FootSwingTrajectory.h:23
Vec3
typename Eigen::Matrix< T, 3, 1 > Vec3
Definition:
cppTypes.h:26
cppTypes.h
FootSwingTrajectory::getVelocity
Vec3< T > getVelocity()
Definition:
FootSwingTrajectory.h:41
FootSwingTrajectory::_pf
Vec3< T > _pf
Definition:
FootSwingTrajectory.h:50
FootSwingTrajectory::_a
Vec3< T > _a
Definition:
FootSwingTrajectory.h:50
FootSwingTrajectory::_height
T _height
Definition:
FootSwingTrajectory.h:51
FootSwingTrajectory::_p
Vec3< T > _p
Definition:
FootSwingTrajectory.h:50
FootSwingTrajectory::computeSwingTrajectoryBezier
void computeSwingTrajectoryBezier(T phase, T swingTime)
Definition:
FootSwingTrajectory.cpp:11
FootSwingTrajectory
Definition:
FootSwingTrajectory.h:12
FootSwingTrajectory::getPosition
Vec3< T > getPosition()
Definition:
FootSwingTrajectory.h:37
FootSwingTrajectory::FootSwingTrajectory
FootSwingTrajectory()
Definition:
FootSwingTrajectory.h:14
FootSwingTrajectory::setHeight
void setHeight(T h)
Definition:
FootSwingTrajectory.h:31
FootSwingTrajectory::setFinalPosition
void setFinalPosition(Vec3< T > pf)
Definition:
FootSwingTrajectory.h:27
home
dhkim
Public_Repository
Cheetah-Software
common
include
Controllers
FootSwingTrajectory.h
Generated by
1.8.11