#include <GaitGenerator.h>
Definition at line 686 of file GaitGenerator.h.
rats::leg_coords_generator::leg_coords_generator | ( | const double | _dt | ) | [inline] |
Definition at line 744 of file GaitGenerator.h.
rats::leg_coords_generator::~leg_coords_generator | ( | ) | [inline] |
Definition at line 776 of file GaitGenerator.h.
void rats::leg_coords_generator::calc_current_swing_foot_rot | ( | std::map< leg_type, hrp::Vector3 > & | tmp_swing_foot_rot, |
const double | _default_double_support_ratio_before, | ||
const double | _default_double_support_ratio_after | ||
) | [private] |
Definition at line 224 of file GaitGenerator.cpp.
void rats::leg_coords_generator::calc_current_swing_leg_steps | ( | std::vector< step_node > & | rets, |
const double | step_height, | ||
const double | _current_toe_angle, | ||
const double | _current_heel_angle, | ||
const double | _default_double_support_ratio_before, | ||
const double | _default_double_support_ratio_after | ||
) | [private] |
Definition at line 269 of file GaitGenerator.cpp.
double rats::leg_coords_generator::calc_interpolated_toe_heel_angle | ( | const toe_heel_phase | start_phase, |
const toe_heel_phase | goal_phase, | ||
const double | start, | ||
const double | goal | ||
) | [private] |
Definition at line 354 of file GaitGenerator.cpp.
void rats::leg_coords_generator::calc_ratio_from_double_support_ratio | ( | const double | default_double_support_ratio_before, |
const double | default_double_support_ratio_after | ||
) | [private] |
Definition at line 317 of file GaitGenerator.cpp.
void rats::leg_coords_generator::calc_swing_leg_src_steps | ( | std::vector< step_node > & | ret_swing_leg_src_steps, |
const std::vector< std::vector< step_node > > & | fnsl, | ||
const size_t | _footstep_index | ||
) | [inline] |
Definition at line 922 of file GaitGenerator.h.
Definition at line 481 of file GaitGenerator.cpp.
void rats::leg_coords_generator::calc_swing_support_params_from_footstep_nodes_list | ( | const std::vector< std::vector< step_node > > & | fnsl | ) | [inline] |
Definition at line 942 of file GaitGenerator.h.
void rats::leg_coords_generator::clear_interpolators | ( | ) | [inline] |
Definition at line 906 of file GaitGenerator.h.
void rats::leg_coords_generator::cross_delay_midcoords | ( | coordinates & | ret, |
const coordinates & | start, | ||
const coordinates & | goal, | ||
const double | height, | ||
leg_type | lr | ||
) | [private] |
Definition at line 457 of file GaitGenerator.cpp.
void rats::leg_coords_generator::cycloid_delay_kick_midcoords | ( | coordinates & | ret, |
const coordinates & | start, | ||
const coordinates & | goal, | ||
const double | height | ||
) | [private] |
Definition at line 450 of file GaitGenerator.cpp.
void rats::leg_coords_generator::cycloid_delay_midcoords | ( | coordinates & | ret, |
const coordinates & | start, | ||
const coordinates & | goal, | ||
const double | height, | ||
const size_t | swing_trajectory_generator_idx | ||
) | [private] |
Definition at line 444 of file GaitGenerator.cpp.
void rats::leg_coords_generator::cycloid_midcoords | ( | coordinates & | ret, |
const coordinates & | start, | ||
const coordinates & | goal, | ||
const double | height | ||
) | const [private] |
Definition at line 426 of file GaitGenerator.cpp.
std::vector<leg_type> rats::leg_coords_generator::get_current_support_states | ( | ) | const [inline] |
Definition at line 976 of file GaitGenerator.h.
double rats::leg_coords_generator::get_current_swing_time | ( | const size_t | idx | ) | const [inline] |
Definition at line 962 of file GaitGenerator.h.
double rats::leg_coords_generator::get_current_toe_heel_ratio | ( | const bool | _use_toe_heel_transition | ) | const [inline] |
Definition at line 1001 of file GaitGenerator.h.
hrp::Vector3 rats::leg_coords_generator::get_cycloid_delay_kick_point_offset | ( | ) | const [inline] |
Definition at line 992 of file GaitGenerator.h.
orbit_type rats::leg_coords_generator::get_default_orbit_type | ( | ) | const [inline] |
Definition at line 987 of file GaitGenerator.h.
double rats::leg_coords_generator::get_default_step_height | ( | ) | const [inline] |
Definition at line 971 of file GaitGenerator.h.
double rats::leg_coords_generator::get_foot_dif_rot_angle | ( | ) | const [inline] |
Definition at line 997 of file GaitGenerator.h.
size_t rats::leg_coords_generator::get_footstep_index | ( | ) | const [inline] |
Definition at line 960 of file GaitGenerator.h.
double rats::leg_coords_generator::get_heel_angle | ( | ) | const [inline] |
Definition at line 996 of file GaitGenerator.h.
double rats::leg_coords_generator::get_heel_pos_offset_x | ( | ) | const [inline] |
Definition at line 994 of file GaitGenerator.h.
size_t rats::leg_coords_generator::get_lcg_count | ( | ) | const [inline] |
Definition at line 961 of file GaitGenerator.h.
hrp::Vector3 rats::leg_coords_generator::get_stair_trajectory_way_point_offset | ( | ) | const [inline] |
Definition at line 991 of file GaitGenerator.h.
const std::vector<step_node>& rats::leg_coords_generator::get_support_leg_steps | ( | ) | const [inline] |
Definition at line 964 of file GaitGenerator.h.
const std::vector<step_node>& rats::leg_coords_generator::get_support_leg_steps_idx | ( | const size_t | idx | ) | const [inline] |
Definition at line 968 of file GaitGenerator.h.
const std::vector<leg_type>& rats::leg_coords_generator::get_support_leg_types | ( | ) | const [inline] |
Definition at line 969 of file GaitGenerator.h.
const std::vector<step_node>& rats::leg_coords_generator::get_swing_leg_dst_steps | ( | ) | const [inline] |
Definition at line 966 of file GaitGenerator.h.
const std::vector<step_node>& rats::leg_coords_generator::get_swing_leg_dst_steps_idx | ( | const size_t | idx | ) | const [inline] |
Definition at line 967 of file GaitGenerator.h.
const std::vector<step_node>& rats::leg_coords_generator::get_swing_leg_src_steps | ( | ) | const [inline] |
Definition at line 965 of file GaitGenerator.h.
const std::vector<step_node>& rats::leg_coords_generator::get_swing_leg_steps | ( | ) | const [inline] |
Definition at line 963 of file GaitGenerator.h.
const std::vector<leg_type>& rats::leg_coords_generator::get_swing_leg_types | ( | ) | const [inline] |
Definition at line 970 of file GaitGenerator.h.
void rats::leg_coords_generator::get_swing_support_mid_coords | ( | coordinates & | ret | ) | const [inline] |
Definition at line 972 of file GaitGenerator.h.
double rats::leg_coords_generator::get_swing_trajectory_delay_time_offset | ( | ) | const [inline] |
Definition at line 988 of file GaitGenerator.h.
double rats::leg_coords_generator::get_swing_trajectory_final_distance_weight | ( | ) | const [inline] |
Definition at line 989 of file GaitGenerator.h.
double rats::leg_coords_generator::get_swing_trajectory_time_offset_xy2z | ( | ) | const [inline] |
Definition at line 990 of file GaitGenerator.h.
double rats::leg_coords_generator::get_toe_angle | ( | ) | const [inline] |
Definition at line 995 of file GaitGenerator.h.
void rats::leg_coords_generator::get_toe_heel_phase_ratio | ( | std::vector< double > & | ratio | ) | const [inline] |
Definition at line 1000 of file GaitGenerator.h.
double rats::leg_coords_generator::get_toe_pos_offset_x | ( | ) | const [inline] |
Definition at line 993 of file GaitGenerator.h.
bool rats::leg_coords_generator::get_use_toe_heel_auto_set | ( | ) | const [inline] |
Definition at line 999 of file GaitGenerator.h.
bool rats::leg_coords_generator::get_use_toe_joint | ( | ) | const [inline] |
Definition at line 998 of file GaitGenerator.h.
bool rats::leg_coords_generator::is_same_footstep_nodes | ( | const std::vector< step_node > & | fns_1, |
const std::vector< step_node > & | fns_2 | ||
) | const |
Definition at line 464 of file GaitGenerator.cpp.
void rats::leg_coords_generator::modif_foot_coords_for_toe_heel_phase | ( | coordinates & | org_coords, |
const double | _current_toe_angle, | ||
const double | _current_heel_angle | ||
) | [private] |
Definition at line 373 of file GaitGenerator.cpp.
void rats::leg_coords_generator::rectangle_midcoords | ( | coordinates & | ret, |
const coordinates & | start, | ||
const coordinates & | goal, | ||
const double | height, | ||
const size_t | swing_trajectory_generator_idx | ||
) | [private] |
Definition at line 432 of file GaitGenerator.cpp.
void rats::leg_coords_generator::reset | ( | const size_t | _one_step_count, |
const size_t | _next_one_step_count, | ||
const std::vector< step_node > & | _swing_leg_dst_steps, | ||
const std::vector< step_node > & | _swing_leg_src_steps, | ||
const std::vector< step_node > & | _support_leg_steps, | ||
const double | default_double_support_ratio_before, | ||
const double | default_double_support_ratio_after | ||
) | [inline] |
Definition at line 854 of file GaitGenerator.h.
void rats::leg_coords_generator::set_cycloid_delay_kick_point_offset | ( | const hrp::Vector3 | _offset | ) | [inline] |
Definition at line 818 of file GaitGenerator.h.
void rats::leg_coords_generator::set_default_orbit_type | ( | const orbit_type | _tmp | ) | [inline] |
Definition at line 795 of file GaitGenerator.h.
void rats::leg_coords_generator::set_default_step_height | ( | const double | _tmp | ) | [inline] |
Definition at line 793 of file GaitGenerator.h.
void rats::leg_coords_generator::set_default_top_ratio | ( | const double | _tmp | ) | [inline] |
Definition at line 794 of file GaitGenerator.h.
void rats::leg_coords_generator::set_heel_angle | ( | const double | _angle | ) | [inline] |
Definition at line 822 of file GaitGenerator.h.
void rats::leg_coords_generator::set_heel_pos_offset_x | ( | const double | _offx | ) | [inline] |
Definition at line 820 of file GaitGenerator.h.
void rats::leg_coords_generator::set_stair_trajectory_way_point_offset | ( | const hrp::Vector3 | _offset | ) | [inline] |
Definition at line 817 of file GaitGenerator.h.
void rats::leg_coords_generator::set_swing_support_steps_list | ( | const std::vector< std::vector< step_node > > & | fnsl | ) | [inline] |
Definition at line 825 of file GaitGenerator.h.
void rats::leg_coords_generator::set_swing_trajectory_delay_time_offset | ( | const double | _time_offset | ) | [inline] |
Definition at line 796 of file GaitGenerator.h.
void rats::leg_coords_generator::set_swing_trajectory_final_distance_weight | ( | const double | _final_distance_weight | ) | [inline] |
Definition at line 803 of file GaitGenerator.h.
void rats::leg_coords_generator::set_swing_trajectory_time_offset_xy2z | ( | const double | _tmp | ) | [inline] |
Definition at line 810 of file GaitGenerator.h.
void rats::leg_coords_generator::set_toe_angle | ( | const double | _angle | ) | [inline] |
Definition at line 821 of file GaitGenerator.h.
bool rats::leg_coords_generator::set_toe_heel_phase_ratio | ( | const std::vector< double > & | ratio | ) | [inline] |
Definition at line 853 of file GaitGenerator.h.
void rats::leg_coords_generator::set_toe_pos_offset_x | ( | const double | _offx | ) | [inline] |
Definition at line 819 of file GaitGenerator.h.
void rats::leg_coords_generator::set_use_toe_heel_auto_set | ( | const bool | ut | ) | [inline] |
Definition at line 824 of file GaitGenerator.h.
void rats::leg_coords_generator::set_use_toe_joint | ( | const bool | ut | ) | [inline] |
Definition at line 823 of file GaitGenerator.h.
void rats::leg_coords_generator::stair_midcoords | ( | coordinates & | ret, |
const coordinates & | start, | ||
const coordinates & | goal, | ||
const double | height | ||
) | [private] |
Definition at line 438 of file GaitGenerator.cpp.
void rats::leg_coords_generator::update_leg_steps | ( | const std::vector< std::vector< step_node > > & | fnsl, |
const double | default_double_support_ratio_before, | ||
const double | default_double_support_ratio_after, | ||
const toe_heel_type_checker & | thtc | ||
) |
Definition at line 541 of file GaitGenerator.cpp.
Definition at line 711 of file GaitGenerator.h.
std::vector<cycloid_delay_hoffarbib_trajectory_generator> rats::leg_coords_generator::cdtg [private] |
Definition at line 710 of file GaitGenerator.h.
Definition at line 712 of file GaitGenerator.h.
Definition at line 722 of file GaitGenerator.h.
double rats::leg_coords_generator::current_heel_angle [private] |
Definition at line 696 of file GaitGenerator.h.
Definition at line 722 of file GaitGenerator.h.
double rats::leg_coords_generator::current_step_height [private] |
Definition at line 696 of file GaitGenerator.h.
std::vector<double> rats::leg_coords_generator::current_swing_time [private] |
Definition at line 698 of file GaitGenerator.h.
double rats::leg_coords_generator::current_toe_angle [private] |
Definition at line 696 of file GaitGenerator.h.
Definition at line 705 of file GaitGenerator.h.
double rats::leg_coords_generator::default_step_height [private] |
Definition at line 696 of file GaitGenerator.h.
double rats::leg_coords_generator::default_top_ratio [private] |
Definition at line 696 of file GaitGenerator.h.
double rats::leg_coords_generator::dt [private] |
Definition at line 696 of file GaitGenerator.h.
double rats::leg_coords_generator::final_distance_weight [private] |
Definition at line 697 of file GaitGenerator.h.
double rats::leg_coords_generator::foot_dif_rot_angle [private] |
Definition at line 720 of file GaitGenerator.h.
Definition at line 714 of file GaitGenerator.h.
size_t rats::leg_coords_generator::footstep_index [private] |
Definition at line 700 of file GaitGenerator.h.
double rats::leg_coords_generator::heel_angle [private] |
Definition at line 720 of file GaitGenerator.h.
double rats::leg_coords_generator::heel_pos_offset_x [private] |
Definition at line 720 of file GaitGenerator.h.
bool rats::leg_coords_generator::is_swing_phase [private] |
Definition at line 706 of file GaitGenerator.h.
size_t rats::leg_coords_generator::lcg_count [private] |
Definition at line 702 of file GaitGenerator.h.
size_t rats::leg_coords_generator::next_one_step_count [private] |
Definition at line 702 of file GaitGenerator.h.
size_t rats::leg_coords_generator::one_step_count [private] |
Definition at line 702 of file GaitGenerator.h.
std::vector<rectangle_delay_hoffarbib_trajectory_generator> rats::leg_coords_generator::rdtg [private] |
Definition at line 708 of file GaitGenerator.h.
Definition at line 709 of file GaitGenerator.h.
std::vector<step_node> rats::leg_coords_generator::support_leg_steps [private] |
Definition at line 693 of file GaitGenerator.h.
std::vector< std::vector<step_node> > rats::leg_coords_generator::support_leg_steps_list [private] |
Definition at line 691 of file GaitGenerator.h.
std::vector<leg_type> rats::leg_coords_generator::support_leg_types [private] |
Definition at line 704 of file GaitGenerator.h.
std::map<leg_type, interpolator*> rats::leg_coords_generator::swing_foot_rot_interpolator [private] |
Definition at line 717 of file GaitGenerator.h.
std::vector<step_node> rats::leg_coords_generator::swing_leg_dst_steps [private] |
Definition at line 695 of file GaitGenerator.h.
std::vector< std::vector<step_node> > rats::leg_coords_generator::swing_leg_dst_steps_list [private] |
Definition at line 691 of file GaitGenerator.h.
std::vector<step_node> rats::leg_coords_generator::swing_leg_src_steps [private] |
Definition at line 695 of file GaitGenerator.h.
std::vector<step_node> rats::leg_coords_generator::swing_leg_steps [private] |
Definition at line 695 of file GaitGenerator.h.
std::vector<leg_type> rats::leg_coords_generator::swing_leg_types [private] |
Definition at line 704 of file GaitGenerator.h.
double rats::leg_coords_generator::swing_ratio [private] |
Definition at line 696 of file GaitGenerator.h.
Definition at line 715 of file GaitGenerator.h.
Definition at line 713 of file GaitGenerator.h.
double rats::leg_coords_generator::time_offset [private] |
Definition at line 697 of file GaitGenerator.h.
double rats::leg_coords_generator::time_offset_xy2z [private] |
Definition at line 697 of file GaitGenerator.h.
double rats::leg_coords_generator::toe_angle [private] |
Definition at line 720 of file GaitGenerator.h.
double rats::leg_coords_generator::toe_heel_dif_angle [private] |
Definition at line 720 of file GaitGenerator.h.
Definition at line 719 of file GaitGenerator.h.
double rats::leg_coords_generator::toe_pos_offset_x [private] |
Definition at line 720 of file GaitGenerator.h.
bool rats::leg_coords_generator::use_toe_heel_auto_set [private] |
Definition at line 721 of file GaitGenerator.h.
bool rats::leg_coords_generator::use_toe_joint [private] |
Definition at line 721 of file GaitGenerator.h.