File tree 2 files changed +4
-4
lines changed
planning/autoware_path_optimizer
include/autoware/path_optimizer
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,9 +75,9 @@ struct ReferencePoint
75
75
// additional information
76
76
double curvature{0.0 };
77
77
double delta_arc_length{0.0 };
78
- double alpha{0.0 }; // for minimizing lateral error
79
- Bounds bounds{}; // bounds on `pose`
80
- std::vector<std::optional< double > > beta{}; // for collision-free constraint
78
+ double alpha{0.0 }; // for minimizing lateral error
79
+ Bounds bounds{}; // bounds on `pose`
80
+ std::vector<double > beta{}; // for collision-free constraint
81
81
double normalized_avoidance_cost{0.0 };
82
82
83
83
// bounds and its local pose on each collision-free constraint
Original file line number Diff line number Diff line change @@ -1351,7 +1351,7 @@ MPTOptimizer::ConstraintMatrix MPTOptimizer::calcConstraintMatrix(
1351
1351
1352
1352
// calculate C mat and vec
1353
1353
for (size_t i = 0 ; i < N_ref; ++i) {
1354
- const double beta = * ref_points.at (i).beta .at (l_idx);
1354
+ const double beta = ref_points.at (i).beta .at (l_idx);
1355
1355
const double lon_offset = vehicle_circle_longitudinal_offsets_.at (l_idx);
1356
1356
1357
1357
C_triplet_vec.push_back (Eigen::Triplet<double >(i, i * D_x, 1.0 * std::cos (beta)));
You can’t perform that action at this time.
0 commit comments