Apollo  6.0
Open source self driving car software
Functions
apollo::planning::util Namespace Reference

Functions

int BuildStopDecision (const std::string &stop_wall_id, const double stop_line_s, const double stop_distance, const StopReasonCode &stop_reason_code, const std::vector< std::string > &wait_for_obstacles, const std::string &decision_tag, Frame *const frame, ReferenceLineInfo *const reference_line_info)
 
int BuildStopDecision (const std::string &stop_wall_id, const std::string &lane_id, const double lane_s, const double stop_distance, const StopReasonCode &stop_reason_code, const std::vector< std::string > &wait_for_obstacles, const std::string &decision_tag, Frame *const frame, ReferenceLineInfo *const reference_line_info)
 
std::pair< double, double > WorldCoordToObjCoord (std::pair< double, double > input_world_coord, std::pair< double, double > obj_world_coord, double obj_world_angle)
 
double WorldAngleToObjAngle (double input_world_angle, double obj_world_angle)
 
bool IsVehicleStateValid (const apollo::common::VehicleState &vehicle_state)
 
bool IsDifferentRouting (const apollo::routing::RoutingResponse &first, const apollo::routing::RoutingResponse &second)
 
double GetADCStopDeceleration (apollo::common::VehicleStateProvider *vehicle_state, const double adc_front_edge_s, const double stop_line_s)
 
bool CheckStopSignOnReferenceLine (const ReferenceLineInfo &reference_line_info, const std::string &stop_sign_overlap_id)
 
bool CheckTrafficLightOnReferenceLine (const ReferenceLineInfo &reference_line_info, const std::string &traffic_light_overlap_id)
 
bool CheckInsidePnCJunction (const ReferenceLineInfo &reference_line_info)
 
void GetFilesByPath (const boost::filesystem::path &path, std::vector< std::string > *files)
 

Function Documentation

◆ BuildStopDecision() [1/2]

int apollo::planning::util::BuildStopDecision ( const std::string &  stop_wall_id,
const double  stop_line_s,
const double  stop_distance,
const StopReasonCode &  stop_reason_code,
const std::vector< std::string > &  wait_for_obstacles,
const std::string &  decision_tag,
Frame *const  frame,
ReferenceLineInfo *const  reference_line_info 
)

◆ BuildStopDecision() [2/2]

int apollo::planning::util::BuildStopDecision ( const std::string &  stop_wall_id,
const std::string &  lane_id,
const double  lane_s,
const double  stop_distance,
const StopReasonCode &  stop_reason_code,
const std::vector< std::string > &  wait_for_obstacles,
const std::string &  decision_tag,
Frame *const  frame,
ReferenceLineInfo *const  reference_line_info 
)

◆ CheckInsidePnCJunction()

bool apollo::planning::util::CheckInsidePnCJunction ( const ReferenceLineInfo reference_line_info)

◆ CheckStopSignOnReferenceLine()

bool apollo::planning::util::CheckStopSignOnReferenceLine ( const ReferenceLineInfo reference_line_info,
const std::string &  stop_sign_overlap_id 
)

◆ CheckTrafficLightOnReferenceLine()

bool apollo::planning::util::CheckTrafficLightOnReferenceLine ( const ReferenceLineInfo reference_line_info,
const std::string &  traffic_light_overlap_id 
)

◆ GetADCStopDeceleration()

double apollo::planning::util::GetADCStopDeceleration ( apollo::common::VehicleStateProvider vehicle_state,
const double  adc_front_edge_s,
const double  stop_line_s 
)

◆ GetFilesByPath()

void apollo::planning::util::GetFilesByPath ( const boost::filesystem::path &  path,
std::vector< std::string > *  files 
)

◆ IsDifferentRouting()

bool apollo::planning::util::IsDifferentRouting ( const apollo::routing::RoutingResponse &  first,
const apollo::routing::RoutingResponse &  second 
)

◆ IsVehicleStateValid()

bool apollo::planning::util::IsVehicleStateValid ( const apollo::common::VehicleState &  vehicle_state)

◆ WorldAngleToObjAngle()

double apollo::planning::util::WorldAngleToObjAngle ( double  input_world_angle,
double  obj_world_angle 
)

◆ WorldCoordToObjCoord()

std::pair<double, double> apollo::planning::util::WorldCoordToObjCoord ( std::pair< double, double >  input_world_coord,
std::pair< double, double >  obj_world_coord,
double  obj_world_angle 
)