44 double v_max = std::numeric_limits<double>::max();
48 double a_max = std::numeric_limits<double>::max();
52 double b_max = std::numeric_limits<double>::max();
56 double da_max = std::numeric_limits<double>::max();
90 void Reset(
double s_step,
double s_max,
double start_v,
double start_a,
119 double following_accel_ratio,
double v,
120 double cruise_speed);
130 std::vector<NaviSpeedTsConstraints> constraints_;
A general class to denote the return status of an API call.
NaviSpeedTsGraph is used to generate a t-s graph with some limits and preferred.
void UpdateObstacleConstraints(double distance, double safe_distance, double following_accel_ratio, double v, double cruise_speed)
Assign constraints for an obstacle.
void Reset(double s_step, double s_max, double start_v, double start_a, double start_da)
Reset points's num and time step etc.
void UpdateRangeConstraints(double start_s, double end_s, const NaviSpeedTsConstraints &constraints)
Assign constraints to a range.
void UpdateConstraints(const NaviSpeedTsConstraints &constraints)
Assign constraints to all points.
apollo::common::Status Solve(std::vector< NaviSpeedTsPoint > *points)
Solving the t-s curve.
Planning module main class.
NaviSpeedTsConstraints is used to describe constraints of a t-s point.
NaviSpeedTsPoint is used to describe a t-s point.