Skip to content

Commit

Permalink
made foot_pitch constant again and not dependend on step length
Browse files Browse the repository at this point in the history
  • Loading branch information
LievenPetersen committed Nov 18, 2024
1 parent 2383801 commit ed11536
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bitbots_motion/bitbots_quintic_walk/src/walk_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,9 @@ void WalkEngine::buildTrajectories(WalkEngine::TrajectoryType type) {
foot_spline_.pitch()->addPoint(0.0, foot_orientation_pos_at_last_foot_change_.y(),
foot_orientation_vel_at_last_foot_change_.y(),
foot_orientation_acc_at_foot_change_.y());
foot_spline_.pitch()->addPoint(double_support_length, config_.foot_pitch_angle * support_to_next_.getOrigin().x(),
config_.foot_pitch_acc, 0);
foot_spline_.pitch()->addPoint(double_support_length, config_.foot_pitch_angle, config_.foot_pitch_acc, 0);
// foot_spline_.pitch()->addPoint(double_support_length, config_.foot_pitch_angle * support_to_next_.getOrigin().x(),
// config_.foot_pitch_acc, 0);
// foot_spline_.pitch()->addPoint(double_support_length + single_support_length * config_.foot_apex_phase -
// 0.5 * config_.foot_z_pause * single_support_length,
// 0.5 * config_.foot_pitch_angle * support_to_next_.getOrigin().x());
Expand Down

0 comments on commit ed11536

Please sign in to comment.