33 #include "modules/common/configs/proto/vehicle_config.pb.h" 37 #include "modules/planning/proto/planner_open_space_config.pb.h" 46 std::vector<double>
x;
47 std::vector<double>
y;
48 std::vector<double>
phi;
62 ReedShepp(
const common::VehicleParam& vehicle_param,
63 const PlannerOpenSpaceConfig& open_space_conf);
67 bool ShortestRSP(
const std::shared_ptr<Node3d> start_node,
68 const std::shared_ptr<Node3d> end_node,
69 std::shared_ptr<ReedSheppPath> optimal_path);
74 bool GenerateRSPs(
const std::shared_ptr<Node3d> start_node,
75 const std::shared_ptr<Node3d> end_node,
76 std::vector<ReedSheppPath>* all_possible_paths);
78 bool GenerateRSP(
const std::shared_ptr<Node3d> start_node,
79 const std::shared_ptr<Node3d> end_node,
80 std::vector<ReedSheppPath>* all_possible_paths);
82 bool GenerateRSPPar(
const std::shared_ptr<Node3d> start_node,
83 const std::shared_ptr<Node3d> end_node,
84 std::vector<ReedSheppPath>* all_possible_paths);
86 bool GenerateLocalConfigurations(
const std::shared_ptr<Node3d> start_node,
87 const std::shared_ptr<Node3d> end_node,
90 void Interpolation(
const int index,
const double pd,
const char m,
91 const double ox,
const double oy,
const double ophi,
92 std::vector<double>* px, std::vector<double>* py,
93 std::vector<double>* pphi, std::vector<bool>* pgear);
95 bool SetRSP(
const int size,
const double* lengths,
const char* types,
96 std::vector<ReedSheppPath>* all_possible_paths);
98 bool SetRSPPar(
const int size,
const double* lengths,
99 const std::string& types,
100 std::vector<ReedSheppPath>* all_possible_paths,
const int idx);
103 bool SCS(
const double x,
const double y,
const double phi,
104 std::vector<ReedSheppPath>* all_possible_paths);
105 bool CSC(
const double x,
const double y,
const double phi,
106 std::vector<ReedSheppPath>* all_possible_paths);
107 bool CCC(
const double x,
const double y,
const double phi,
108 std::vector<ReedSheppPath>* all_possible_paths);
109 bool CCCC(
const double x,
const double y,
const double phi,
110 std::vector<ReedSheppPath>* all_possible_paths);
111 bool CCSC(
const double x,
const double y,
const double phi,
112 std::vector<ReedSheppPath>* all_possible_paths);
113 bool CCSCC(
const double x,
const double y,
const double phi,
114 std::vector<ReedSheppPath>* all_possible_paths);
116 void LSL(
const double x,
const double y,
const double phi,
RSPParam* param);
117 void LSR(
const double x,
const double y,
const double phi,
RSPParam* param);
118 void LRL(
const double x,
const double y,
const double phi,
RSPParam* param);
119 void SLS(
const double x,
const double y,
const double phi,
RSPParam* param);
120 void LRLRn(
const double x,
const double y,
const double phi,
RSPParam* param);
121 void LRLRp(
const double x,
const double y,
const double phi,
RSPParam* param);
122 void LRSR(
const double x,
const double y,
const double phi,
RSPParam* param);
123 void LRSL(
const double x,
const double y,
const double phi,
RSPParam* param);
124 void LRSLR(
const double x,
const double y,
const double phi,
RSPParam* param);
125 std::pair<double, double> calc_tau_omega(
const double u,
const double v,
126 const double xi,
const double eta,
Definition: reeds_shepp_path.h:53
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
std::vector< double > x
Definition: reeds_shepp_path.h:46
Planning module main class. It processes GPS and IMU as input, to generate planning info...
double total_length
Definition: reeds_shepp_path.h:45
std::vector< double > phi
Definition: reeds_shepp_path.h:48
PlannerOpenSpaceConfig planner_open_space_config_
Definition: reeds_shepp_path.h:131
std::vector< char > segs_types
Definition: reeds_shepp_path.h:44
double max_kappa_
Definition: reeds_shepp_path.h:132
std::vector< double > y
Definition: reeds_shepp_path.h:47
std::vector< double > segs_lengths
Definition: reeds_shepp_path.h:43
Definition: reeds_shepp_path.h:42
Math-related util functions.
common::VehicleParam vehicle_param_
Definition: reeds_shepp_path.h:130
Definition: reeds_shepp_path.h:60
std::vector< bool > gear
Definition: reeds_shepp_path.h:50