|
Apollo 11.0
自动驾驶开放平台
|
#include <piecewise_jerk_speed_problem.h>
Public 成员函数 | |
| PiecewiseJerkSpeedProblem (const size_t num_of_knots, const double delta_s, const std::array< double, 3 > &x_init) | |
| virtual | ~PiecewiseJerkSpeedProblem ()=default |
| void | set_dx_ref (const double weight_dx_ref, const double dx_ref) |
| void | set_dx_ref (const std::vector< double > &weight_dx_ref, const std::vector< double > &dx_ref) |
| void | set_penalty_dx (std::vector< double > penalty_dx) |
Public 成员函数 继承自 apollo::planning::PiecewiseJerkProblem | |
| 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 成员函数 | |
| void | CalculateKernel (std::vector< c_float > *P_data, std::vector< c_int > *P_indices, std::vector< c_int > *P_indptr) override |
| void | CalculateOffset (std::vector< c_float > *q) override |
| OSQPSettings * | SolverDefaultSettings () override |
Protected 成员函数 继承自 apollo::planning::PiecewiseJerkProblem | |
| 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) |
| 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 属性 | |
| bool | has_dx_ref_ = false |
| std::vector< double > | dx_ref_ |
| std::vector< double > | weight_dx_ref_ |
| std::vector< double > | penalty_dx_ |
Protected 属性 继承自 apollo::planning::PiecewiseJerkProblem | |
| 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_speed_problem.h 第 48 行定义.
| apollo::planning::PiecewiseJerkSpeedProblem::PiecewiseJerkSpeedProblem | ( | const size_t | num_of_knots, |
| const double | delta_s, | ||
| const std::array< double, 3 > & | x_init | ||
| ) |
在文件 piecewise_jerk_speed_problem.cc 第 25 行定义.
|
virtualdefault |
|
overrideprotectedvirtual |
实现了 apollo::planning::PiecewiseJerkProblem.
在文件 piecewise_jerk_speed_problem.cc 第 54 行定义.
|
overrideprotectedvirtual |
实现了 apollo::planning::PiecewiseJerkProblem.
在文件 piecewise_jerk_speed_problem.cc 第 131 行定义.
| void apollo::planning::PiecewiseJerkSpeedProblem::set_dx_ref | ( | const double | weight_dx_ref, |
| const double | dx_ref | ||
| ) |
在文件 piecewise_jerk_speed_problem.cc 第 34 行定义.
| void apollo::planning::PiecewiseJerkSpeedProblem::set_dx_ref | ( | const std::vector< double > & | weight_dx_ref, |
| const std::vector< double > & | dx_ref | ||
| ) |
在文件 piecewise_jerk_speed_problem.cc 第 41 行定义.
| void apollo::planning::PiecewiseJerkSpeedProblem::set_penalty_dx | ( | std::vector< double > | penalty_dx | ) |
在文件 piecewise_jerk_speed_problem.cc 第 49 行定义.
|
overrideprotectedvirtual |
重载 apollo::planning::PiecewiseJerkProblem .
在文件 piecewise_jerk_speed_problem.cc 第 155 行定义.
|
protected |
在文件 piecewise_jerk_speed_problem.h 第 73 行定义.
|
protected |
在文件 piecewise_jerk_speed_problem.h 第 72 行定义.
|
protected |
在文件 piecewise_jerk_speed_problem.h 第 75 行定义.
|
protected |
在文件 piecewise_jerk_speed_problem.h 第 74 行定义.