|
Apollo 11.0
自动驾驶开放平台
|
#include <piecewise_jerk_problem.h>
Public 成员函数 | |
| PiecewiseJerkProblem (const size_t num_of_knots, const double delta_s, const std::array< double, 3 > &x_init) | |
| virtual | ~PiecewiseJerkProblem ()=default |
| void | set_x_bounds (std::vector< std::pair< double, double > > x_bounds) |
| void | set_x_bounds (const double x_lower_bound, const double x_upper_bound) |
| void | set_dx_bounds (std::vector< std::pair< double, double > > dx_bounds) |
| void | set_dx_bounds (const double dx_lower_bound, const double dx_upper_bound) |
| void | set_ddx_bounds (std::vector< std::pair< double, double > > ddx_bounds) |
| void | set_ddx_bounds (const double ddx_lower_bound, const double ddx_upper_bound) |
| void | set_dddx_bound (const double dddx_bound) |
| void | set_dddx_bound (const double dddx_lower_bound, const double dddx_upper_bound) |
| void | set_weight_x (const double weight_x) |
| void | set_weight_dx (const double weight_dx) |
| void | set_weight_ddx (const double weight_ddx) |
| void | set_weight_dddx (const double weight_dddx) |
| void | set_scale_factor (const std::array< double, 3 > &scale_factor) |
| void | set_x_ref (const double weight_x_ref, std::vector< double > x_ref) |
| Set the x ref object and the uniform x_ref weighting | |
| void | set_x_ref (std::vector< double > weight_x_ref_vec, std::vector< double > x_ref) |
| Set the x ref object and piecewised x_ref weightings | |
| void | set_towing_x_ref (const double weight_towing_x_ref, std::vector< double > towing_x_ref) |
| Set towing x ref object and piecewised towing_x_ref weightings | |
| void | set_towing_x_ref (std::vector< double > weight_towing_x_ref_vec, std::vector< double > towing_x_ref) |
| void | set_end_state_ref (const std::array< double, 3 > &weight_end_state, const std::array< double, 3 > &end_state_ref) |
| virtual bool | Optimize (const int max_iter=4000) |
| const std::vector< double > & | opt_x () const |
| const std::vector< double > & | opt_dx () const |
| const std::vector< double > & | opt_ddx () const |
Protected 成员函数 | |
| virtual void | CalculateKernel (std::vector< c_float > *P_data, std::vector< c_int > *P_indices, std::vector< c_int > *P_indptr)=0 |
| virtual void | CalculateOffset (std::vector< c_float > *q)=0 |
| virtual void | CalculateAffineConstraint (std::vector< c_float > *A_data, std::vector< c_int > *A_indices, std::vector< c_int > *A_indptr, std::vector< c_float > *lower_bounds, std::vector< c_float > *upper_bounds) |
| virtual OSQPSettings * | SolverDefaultSettings () |
| bool | FormulateProblem (OSQPData *data) |
| void | FreeData (OSQPData *data) |
| bool | CheckLowUpperBound (const std::vector< c_float > &lower, const std::vector< c_float > &upper) |
| template<typename T > | |
| T * | CopyData (const std::vector< T > &vec) |
Protected 属性 | |
| size_t | num_of_knots_ = 0 |
| std::vector< double > | x_ |
| std::vector< double > | dx_ |
| std::vector< double > | ddx_ |
| std::array< double, 3 > | x_init_ |
| std::array< double, 3 > | scale_factor_ = {{1.0, 1.0, 1.0}} |
| std::vector< std::pair< double, double > > | x_bounds_ |
| std::vector< std::pair< double, double > > | dx_bounds_ |
| std::vector< std::pair< double, double > > | ddx_bounds_ |
| std::pair< double, double > | dddx_bound_ |
| double | weight_x_ = 0.0 |
| double | weight_dx_ = 0.0 |
| double | weight_ddx_ = 0.0 |
| double | weight_dddx_ = 0.0 |
| double | delta_s_ = 1.0 |
| bool | has_x_ref_ = false |
| double | weight_x_ref_ = 0.0 |
| std::vector< double > | x_ref_ |
| std::vector< double > | weight_x_ref_vec_ |
| bool | has_towing_x_ref_ = false |
| std::vector< double > | towing_x_ref_ |
| std::vector< double > | weight_towing_x_ref_vec_ |
| bool | has_end_state_ref_ = false |
| std::array< double, 3 > | weight_end_state_ = {{0.0, 0.0, 0.0}} |
| std::array< double, 3 > | end_state_ref_ |
在文件 piecewise_jerk_problem.h 第 49 行定义.
| apollo::planning::PiecewiseJerkProblem::PiecewiseJerkProblem | ( | const size_t | num_of_knots, |
| const double | delta_s, | ||
| const std::array< double, 3 > & | x_init | ||
| ) |
在文件 piecewise_jerk_problem.cc 第 29 行定义.
|
virtualdefault |
|
protectedvirtual |
被 apollo::planning::PiecewiseJerkPathProblem 重载.
在文件 piecewise_jerk_problem.cc 第 136 行定义.
|
protectedpure virtual |
|
protectedpure virtual |
|
protected |
在文件 piecewise_jerk_problem.cc 第 374 行定义.
|
inlineprotected |
在文件 piecewise_jerk_problem.h 第 155 行定义.
|
protected |
在文件 piecewise_jerk_problem.cc 第 51 行定义.
|
protected |
在文件 piecewise_jerk_problem.cc 第 360 行定义.
|
inline |
在文件 piecewise_jerk_problem.h 第 129 行定义.
|
inline |
在文件 piecewise_jerk_problem.h 第 127 行定义.
|
inline |
在文件 piecewise_jerk_problem.h 第 125 行定义.
|
virtual |
在文件 piecewise_jerk_problem.cc 第 90 行定义.
|
inline |
在文件 piecewise_jerk_problem.h 第 69 行定义.
|
inline |
在文件 piecewise_jerk_problem.h 第 73 行定义.
| void apollo::planning::PiecewiseJerkProblem::set_ddx_bounds | ( | const double | ddx_lower_bound, |
| const double | ddx_upper_bound | ||
| ) |
在文件 piecewise_jerk_problem.cc 第 305 行定义.
| void apollo::planning::PiecewiseJerkProblem::set_ddx_bounds | ( | std::vector< std::pair< double, double > > | ddx_bounds | ) |
在文件 piecewise_jerk_problem.cc 第 283 行定义.
| void apollo::planning::PiecewiseJerkProblem::set_dx_bounds | ( | const double | dx_lower_bound, |
| const double | dx_upper_bound | ||
| ) |
在文件 piecewise_jerk_problem.cc 第 297 行定义.
| void apollo::planning::PiecewiseJerkProblem::set_dx_bounds | ( | std::vector< std::pair< double, double > > | dx_bounds | ) |
在文件 piecewise_jerk_problem.cc 第 277 行定义.
| void apollo::planning::PiecewiseJerkProblem::set_end_state_ref | ( | const std::array< double, 3 > & | weight_end_state, |
| const std::array< double, 3 > & | end_state_ref | ||
| ) |
在文件 piecewise_jerk_problem.cc 第 352 行定义.
|
inline |
在文件 piecewise_jerk_problem.h 第 87 行定义.
| void apollo::planning::PiecewiseJerkProblem::set_towing_x_ref | ( | const double | weight_towing_x_ref, |
| std::vector< double > | towing_x_ref | ||
| ) |
Set towing x ref object and piecewised towing_x_ref weightings
| weight_towing_x_ref_vec | piecewised towing x_ref weightings |
| towing_x_ref | objective value of x |
在文件 piecewise_jerk_problem.cc 第 333 行定义.
| void apollo::planning::PiecewiseJerkProblem::set_towing_x_ref | ( | std::vector< double > | weight_towing_x_ref_vec, |
| std::vector< double > | towing_x_ref | ||
| ) |
在文件 piecewise_jerk_problem.cc 第 342 行定义.
|
inline |
在文件 piecewise_jerk_problem.h 第 85 行定义.
|
inline |
在文件 piecewise_jerk_problem.h 第 83 行定义.
|
inline |
在文件 piecewise_jerk_problem.h 第 81 行定义.
|
inline |
在文件 piecewise_jerk_problem.h 第 79 行定义.
| void apollo::planning::PiecewiseJerkProblem::set_x_bounds | ( | const double | x_lower_bound, |
| const double | x_upper_bound | ||
| ) |
在文件 piecewise_jerk_problem.cc 第 289 行定义.
| void apollo::planning::PiecewiseJerkProblem::set_x_bounds | ( | std::vector< std::pair< double, double > > | x_bounds | ) |
在文件 piecewise_jerk_problem.cc 第 271 行定义.
| void apollo::planning::PiecewiseJerkProblem::set_x_ref | ( | const double | weight_x_ref, |
| std::vector< double > | x_ref | ||
| ) |
Set the x ref object and the uniform x_ref weighting
| weight_x_ref | uniform weighting for x_ref |
| x_ref | objective value of x |
在文件 piecewise_jerk_problem.cc 第 313 行定义.
| void apollo::planning::PiecewiseJerkProblem::set_x_ref | ( | std::vector< double > | weight_x_ref_vec, |
| std::vector< double > | x_ref | ||
| ) |
Set the x ref object and piecewised x_ref weightings
| weight_x_ref_vec | piecewised x_ref weightings |
| x_ref | objective value of x |
在文件 piecewise_jerk_problem.cc 第 323 行定义.
|
protectedvirtual |
被 apollo::planning::PiecewiseJerkPathProblem , 以及 apollo::planning::PiecewiseJerkSpeedProblem 重载.
在文件 piecewise_jerk_problem.cc 第 260 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 175 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 167 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 174 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 182 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 166 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 173 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 196 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 194 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 190 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 184 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 162 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 170 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 191 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 180 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 179 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 178 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 195 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 192 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 177 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 185 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 188 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 165 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 172 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 169 行定义.
|
protected |
在文件 piecewise_jerk_problem.h 第 186 行定义.