Skip to content

Commit

Permalink
[AutoBalancer/AutoBalancer.cpp] fix typo : get_default_step_height ->…
Browse files Browse the repository at this point in the history
… get_toe_angle / get_heel_angle
  • Loading branch information
eisoku9618 committed Aug 28, 2015
1 parent 78c21b1 commit 073b572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtc/AutoBalancer/AutoBalancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1040,8 +1040,8 @@ bool AutoBalancer::setFootSteps(const OpenHRP::AutoBalancerService::FootstepsSeq
for (size_t j = 0; j < spss[i].sps.length(); j++) {
spss[i].sps[j].step_height = ((!gg_is_walking && i==0) ? 0.0 : gg->get_default_step_height());
spss[i].sps[j].step_time = gg->get_default_step_time();
spss[i].sps[j].toe_angle = ((!gg_is_walking && i==0) ? 0.0 : gg->get_default_step_height());
spss[i].sps[j].heel_angle = ((!gg_is_walking && i==0) ? 0.0 : gg->get_default_step_height());
spss[i].sps[j].toe_angle = ((!gg_is_walking && i==0) ? 0.0 : gg->get_toe_angle());
spss[i].sps[j].heel_angle = ((!gg_is_walking && i==0) ? 0.0 : gg->get_heel_angle());
}
}
setFootStepsWithParam(fss, spss, overwrite_fs_idx);
Expand Down

0 comments on commit 073b572

Please sign in to comment.