Skip to content

Commit

Permalink
Planning: enlarge lateral_derivative_bound_default
Browse files Browse the repository at this point in the history
  • Loading branch information
HongyiSun authored and panjiacheng committed Mar 5, 2019
1 parent 7e99dc7 commit 6e96ca2
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,15 @@ common::Status PiecewiseJerkPathOptimizer::Process(

fem_1d_qp->SetZeroOrderBounds(lateral_boundaries);

FLAGS_lateral_derivative_bound_default = 1.0;
// FLAGS_lateral_derivative_bound_default = 1.0;
double first_order_bounds = AdjustLateralDerivativeBounds(init_point.v(),
frenet_point.dl(), frenet_point.ddl(),
FLAGS_lateral_derivative_bound_default);
AERROR << "adjusted lateral bound from \t"
AERROR << "adjusted lateral derivative bound from \t"
<< FLAGS_lateral_derivative_bound_default << "\t" << first_order_bounds;
fem_1d_qp->SetFirstOrderBounds(first_order_bounds);
// TODO(all): temprary disable AdjustLateralDerivativeBounds, enable later
// fem_1d_qp->SetFirstOrderBounds(first_order_bounds);
fem_1d_qp->SetFirstOrderBounds(FLAGS_lateral_derivative_bound_default);
fem_1d_qp->SetSecondOrderBounds(FLAGS_lateral_derivative_bound_default);

bool success = fem_1d_qp->Optimize();
Expand Down

0 comments on commit 6e96ca2

Please sign in to comment.