File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
bitbots_motion/bitbots_quintic_walk/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ walking:
112112 type : double
113113 description : " Foot pitch angle before toe-off"
114114 validation :
115- bounds<> : [0.0, 1 .0]
115+ bounds<> : [0.0, 5 .0]
116116 default_value : 0.0
117117 trunk_x_offset :
118118 type : double
Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ void WalkEngine::buildTrajectories(WalkEngine::TrajectoryType type) {
518518 foot_spline_.pitch ()->addPoint (0.0 , foot_orientation_pos_at_last_foot_change_.y (),
519519 foot_orientation_vel_at_last_foot_change_.y (),
520520 foot_orientation_acc_at_foot_change_.y ());
521- foot_spline_.pitch ()->addPoint (double_support_length, config_.foot_pitch_angle );
521+ foot_spline_.pitch ()->addPoint (double_support_length, config_.foot_pitch_angle * support_to_next_. getOrigin (). x () );
522522 // foot_spline_.pitch()->addPoint(double_support_length, 0.1);
523523 // foot_spline_.pitch()->addPoint(double_support_length + single_support_length * config_.foot_apex_phase, 0.1);
524524 foot_spline_.pitch ()->addPoint (half_period, 0.0 );
You can’t perform that action at this time.
0 commit comments