Cheetah Software
1.0
|
#include <JPosInitializer.h>
Public Member Functions | |
JPosInitializer (T end_time) | |
~JPosInitializer () | |
bool | IsInitialized (LegController< T > *) |
Private Member Functions | |
void | _UpdateParam () |
void | _UpdateInitial (const LegController< T > *ctrl) |
Private Attributes | |
bool | _b_first_visit |
T | _end_time |
T | _curr_time |
T | _dt |
std::vector< T > | _ini_jpos |
std::vector< T > | _target_jpos |
std::vector< T > | _mid_jpos |
BS_Basic< T, cheetah::num_act_joint, 3, 1, 2, 2 > | _jpos_trj |
Definition at line 9 of file JPosInitializer.h.
JPosInitializer< T >::JPosInitializer | ( | T | end_time | ) |
Definition at line 7 of file JPosInitializer.cpp.
References JPosInitializer< T >::_UpdateParam().
JPosInitializer< T >::~JPosInitializer | ( | ) |
Definition at line 17 of file JPosInitializer.cpp.
|
private |
Definition at line 48 of file JPosInitializer.cpp.
References JPosInitializer< T >::_end_time, JPosInitializer< T >::_ini_jpos, JPosInitializer< T >::_jpos_trj, JPosInitializer< T >::_mid_jpos, JPosInitializer< T >::_target_jpos, LegController< T >::datas, cheetah::num_act_joint, and BS_Basic< T, DIM, DEGREE, NUM_MIDDLE, CONST_LEVEL_INI, CONST_LEVEL_FIN >::SetParam().
|
private |
Definition at line 77 of file JPosInitializer.cpp.
References JPosInitializer< T >::_mid_jpos, and JPosInitializer< T >::_target_jpos.
bool JPosInitializer< T >::IsInitialized | ( | LegController< T > * | ctrl | ) |
Definition at line 20 of file JPosInitializer.cpp.
References JPosInitializer< T >::_b_first_visit, JPosInitializer< T >::_curr_time, JPosInitializer< T >::_dt, JPosInitializer< T >::_end_time, JPosInitializer< T >::_jpos_trj, JPosInitializer< T >::_UpdateInitial(), LegController< T >::commands, BS_Basic< T, DIM, DEGREE, NUM_MIDDLE, CONST_LEVEL_INI, CONST_LEVEL_FIN >::getCurvePoint(), cheetah::num_act_joint, cheetah::num_leg, and cheetah::num_leg_joint.
|
private |
Definition at line 19 of file JPosInitializer.h.
|
private |
Definition at line 21 of file JPosInitializer.h.
|
private |
Definition at line 22 of file JPosInitializer.h.
|
private |
Definition at line 20 of file JPosInitializer.h.
|
private |
Definition at line 24 of file JPosInitializer.h.
|
private |
Definition at line 28 of file JPosInitializer.h.
|
private |
Definition at line 26 of file JPosInitializer.h.
|
private |
Definition at line 25 of file JPosInitializer.h.