Apollo
6.0
Open source self driving car software
|
Namespaces | |
scenario | |
util | |
Typedefs | |
typedef IndexedList< std::string, Obstacle > | IndexedObstacles |
typedef ThreadSafeIndexedList< std::string, Obstacle > | ThreadSafeIndexedObstacles |
typedef std::pair< DiscretizedTrajectory, canbus::Chassis::GearPosition > | TrajGearPair |
Enumerations | |
enum | VirtualObjectType { VirtualObjectType::DESTINATION = 0, VirtualObjectType::CROSSWALK = 1, VirtualObjectType::TRAFFIC_LIGHT = 2, VirtualObjectType::CLEAR_ZONE = 3, VirtualObjectType::REROUTE = 4, VirtualObjectType::DECISION_JUMP = 5, VirtualObjectType::PRIORITY = 6 } |
Functions | |
bool | IsNonmovableObstacle (const ReferenceLineInfo &reference_line_info, const Obstacle &obstacle) |
bool | IsBlockingObstacleToSidePass (const Frame &frame, const Obstacle *obstacle, double block_obstacle_min_speed, double min_front_sidepass_distance, bool enable_obstacle_blocked_check) |
Decide whether an obstacle is a blocking one that needs to be side-passed. More... | |
double | GetDistanceBetweenADCAndObstacle (const Frame &frame, const Obstacle *obstacle) |
bool | IsBlockingDrivingPathObstacle (const ReferenceLine &reference_line, const Obstacle *obstacle) |
bool | IsParkedVehicle (const ReferenceLine &reference_line, const Obstacle *obstacle) |
DECLARE_string (test_routing_response_file) | |
DECLARE_string (test_localization_file) | |
DECLARE_string (test_chassis_file) | |
DECLARE_string (test_data_dir) | |
DECLARE_string (test_prediction_file) | |
DECLARE_string (test_traffic_light_file) | |
DECLARE_string (test_relative_map_file) | |
DECLARE_string (test_previous_planning_file) | |
bool | InitialCuda () |
__global__ void | fill_lower_left_gpu (int *iRow, int *jCol, unsigned int *rind_L, unsigned int *cind_L, const int nnz_L) |
template<typename T > | |
__global__ void | data_transfer_gpu (T *dst, const T *src, const int size) |
bool | fill_lower_left (int *iRow, int *jCol, unsigned int *rind_L, unsigned int *cind_L, const int nnz_L) |
template<typename T > | |
bool | data_transfer (T *dst, const T *src, const int size) |
int | ContainsOutOnReverseLane (const std::vector< std::tuple< double, PathData::PathPointType, double >> &path_point_decision) |
int | GetBackToInLaneIndex (const std::vector< std::tuple< double, PathData::PathPointType, double >> &path_point_decision) |
bool | ComparePathData (const PathData &lhs, const PathData &rhs, const Obstacle *blocking_obstacle) |
bool | IsWithinPathDeciderScopeObstacle (const Obstacle &obstacle) |
Variables | |
constexpr double | kObsSpeedIgnoreThreshold = 100.0 |
constexpr double | kPathBoundsDeciderHorizon = 100.0 |
constexpr double | kPathBoundsDeciderResolution = 0.5 |
constexpr double | kDefaultLaneWidth = 5.0 |
constexpr double | kDefaultRoadWidth = 20.0 |
constexpr int | kNumExtraTailBoundPoint = 20 |
constexpr double | kPulloverLonSearchCoeff = 1.5 |
constexpr double | kPulloverLatSearchCoeff = 1.25 |
constexpr double | kSTBoundsDeciderResolution = 0.1 |
constexpr double | kSTPassableThreshold = 3.0 |
constexpr double | kADCSafetyLBuffer = 0.1 |
constexpr double | kSIgnoreThreshold = 0.01 |
constexpr double | kTIgnoreThreshold = 0.1 |
constexpr double | kOvertakenObsCautionTime = 0.5 |
typedef IndexedList<std::string, Obstacle> apollo::planning::IndexedObstacles |
typedef ThreadSafeIndexedList<std::string, Obstacle> apollo::planning::ThreadSafeIndexedObstacles |
typedef std::pair<DiscretizedTrajectory, canbus::Chassis::GearPosition> apollo::planning::TrajGearPair |
|
strong |
bool apollo::planning::ComparePathData | ( | const PathData & | lhs, |
const PathData & | rhs, | ||
const Obstacle * | blocking_obstacle | ||
) |
int apollo::planning::ContainsOutOnReverseLane | ( | const std::vector< std::tuple< double, PathData::PathPointType, double >> & | path_point_decision | ) |
bool apollo::planning::data_transfer | ( | T * | dst, |
const T * | src, | ||
const int | size | ||
) |
__global__ void apollo::planning::data_transfer_gpu | ( | T * | dst, |
const T * | src, | ||
const int | size | ||
) |
apollo::planning::DECLARE_string | ( | test_routing_response_file | ) |
apollo::planning::DECLARE_string | ( | test_localization_file | ) |
apollo::planning::DECLARE_string | ( | test_chassis_file | ) |
apollo::planning::DECLARE_string | ( | test_data_dir | ) |
apollo::planning::DECLARE_string | ( | test_prediction_file | ) |
apollo::planning::DECLARE_string | ( | test_traffic_light_file | ) |
apollo::planning::DECLARE_string | ( | test_relative_map_file | ) |
apollo::planning::DECLARE_string | ( | test_previous_planning_file | ) |
bool apollo::planning::fill_lower_left | ( | int * | iRow, |
int * | jCol, | ||
unsigned int * | rind_L, | ||
unsigned int * | cind_L, | ||
const int | nnz_L | ||
) |
__global__ void apollo::planning::fill_lower_left_gpu | ( | int * | iRow, |
int * | jCol, | ||
unsigned int * | rind_L, | ||
unsigned int * | cind_L, | ||
const int | nnz_L | ||
) |
int apollo::planning::GetBackToInLaneIndex | ( | const std::vector< std::tuple< double, PathData::PathPointType, double >> & | path_point_decision | ) |
double apollo::planning::GetDistanceBetweenADCAndObstacle | ( | const Frame & | frame, |
const Obstacle * | obstacle | ||
) |
bool apollo::planning::InitialCuda | ( | ) |
bool apollo::planning::IsBlockingDrivingPathObstacle | ( | const ReferenceLine & | reference_line, |
const Obstacle * | obstacle | ||
) |
bool apollo::planning::IsBlockingObstacleToSidePass | ( | const Frame & | frame, |
const Obstacle * | obstacle, | ||
double | block_obstacle_min_speed, | ||
double | min_front_sidepass_distance, | ||
bool | enable_obstacle_blocked_check | ||
) |
Decide whether an obstacle is a blocking one that needs to be side-passed.
The | frame that contains reference_line and other info. |
The | obstacle of interest. |
The | speed threshold to tell whether an obstacle is stopped. |
The | minimum distance to front blocking obstacle for side-pass. (if too close, don't side-pass for safety consideration) |
Whether | to take into consideration that the blocking obstacle itself is blocked by others as well. In other words, if the front blocking obstacle is blocked by others, then don't try to side-pass it. (Parked obstacles are never blocked by others) |
bool apollo::planning::IsNonmovableObstacle | ( | const ReferenceLineInfo & | reference_line_info, |
const Obstacle & | obstacle | ||
) |
bool apollo::planning::IsParkedVehicle | ( | const ReferenceLine & | reference_line, |
const Obstacle * | obstacle | ||
) |
bool apollo::planning::IsWithinPathDeciderScopeObstacle | ( | const Obstacle & | obstacle | ) |
constexpr double apollo::planning::kADCSafetyLBuffer = 0.1 |
constexpr double apollo::planning::kDefaultLaneWidth = 5.0 |
constexpr double apollo::planning::kDefaultRoadWidth = 20.0 |
constexpr int apollo::planning::kNumExtraTailBoundPoint = 20 |
constexpr double apollo::planning::kObsSpeedIgnoreThreshold = 100.0 |
constexpr double apollo::planning::kOvertakenObsCautionTime = 0.5 |
constexpr double apollo::planning::kPathBoundsDeciderHorizon = 100.0 |
constexpr double apollo::planning::kPathBoundsDeciderResolution = 0.5 |
constexpr double apollo::planning::kPulloverLatSearchCoeff = 1.25 |
constexpr double apollo::planning::kPulloverLonSearchCoeff = 1.5 |
constexpr double apollo::planning::kSIgnoreThreshold = 0.01 |
constexpr double apollo::planning::kSTBoundsDeciderResolution = 0.1 |
constexpr double apollo::planning::kSTPassableThreshold = 3.0 |
constexpr double apollo::planning::kTIgnoreThreshold = 0.1 |