MCPcopy Create free account

hub / github.com/ChenBohan/Robotics-Path-Planning-04-Quintic-Polynomial-Solver / functions

Functions62 in github.com/ChenBohan/Robotics-Path-Planning-04-Quintic-Polynomial-Solver

↓ 14 callersFunctionto_equation
Takes the coefficients of a polynomial and creates a function of time from them.
TrajectoryExercise2/helpers.py:33
↓ 13 callersFunctiondifferentiate
Calculates the derivative of a polynomial and returns the corresponding coefficients.
TrajectoryExercise2/helpers.py:45
↓ 7 callersFunctionlogistic
A function that returns a value between 0 and 1 for x in the range [0, infinity] and -1 to 1 for x in the range [-infinity, infinity].
TrajectoryExercise2/helpers.py:24
↓ 6 callersMethodstate_in
(self, t)
TrajectoryExercise2/helpers.py:11
↓ 4 callersMethodcalc_position
u""" calc position
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:150
↓ 4 callersMethodcalc_yaw
u""" calc yaw
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:170
↓ 4 callersMethodcalcd
u""" Calc first derivative if t is outside of the input x, return None
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:62
↓ 3 callersMethod__search_index
u""" search data segment index
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:94
↓ 3 callersMethodcalc_curvature
u""" calc curvature
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:159
↓ 2 callersFunctionJMT
Calculates Jerk Minimizing Trajectory for start, end and T.
TrajectoryExercise2/ptg.py:102
↓ 2 callersMethodcalc
u""" Calc position if t is outside of the input x, return None
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:42
↓ 2 callersMethodcalc_first_derivative
(self, t)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:79
↓ 2 callersMethodcalc_point
(self, t)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:73
↓ 2 callersMethodcalc_second_derivative
(self, t)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:85
↓ 2 callersMethodcalc_third_derivative
(self, t)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:90
↓ 2 callersMethodcalcdd
u""" Calc second derivative
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:79
↓ 2 callersFunctioncalculate_cost
(trajectory, target_vehicle, delta, goal_t, predictions, cost_functions_with_weights, verbose=False)
TrajectoryExercise2/ptg.py:79
↓ 2 callersFunctionnearest_approach_to_any_vehicle
Calculates the closest distance to any vehicle during a trajectory.
TrajectoryExercise2/helpers.py:55
↓ 1 callersFunctionJMT
TODO - complete this function
Quintic-Polynomial-Solver/main.cpp:13
↓ 1 callersFunctionPTG
Finds the best trajectory according to WEIGHTED_COST_FUNCTIONS (global). arguments: start_s - [s, s_dot, s_ddot] start_d - [d, d_
TrajectoryExercise2/ptg.py:20
↓ 1 callersMethod__calc_A
u""" calc matrix A for spline coefficient c
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:100
↓ 1 callersMethod__calc_B
u""" calc matrix B for spline coefficient c
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:118
↓ 1 callersMethod__calc_s
(self, x, y)
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:141
↓ 1 callersFunctioncalc_frenet_paths
(c_speed, c_d, c_d_d, c_d_dd, s0)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:166
↓ 1 callersFunctioncalc_global_paths
(fplist, csp)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:210
↓ 1 callersFunctioncheck_collision
(fp, ob)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:243
↓ 1 callersFunctioncheck_paths
(fplist, ob)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:257
↓ 1 callersFunctionclose_enough
Quintic-Polynomial-Solver/main.cpp:63
↓ 1 callersFunctionf
(t)
TrajectoryExercise2/helpers.py:38
↓ 1 callersFunctionfrenet_optimal_planning
(csp, s0, c_speed, c_d, c_d_d, c_d_dd, ob)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:275
↓ 1 callersFunctiongenerate_target_course
(x, y)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:292
↓ 1 callersFunctionget_f_and_N_derivatives
(coeffs, N=3)
TrajectoryExercise2/helpers.py:103
↓ 1 callersFunctionmain
()
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:307
↓ 1 callersFunctionmain
()
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:195
↓ 1 callersFunctionmain
()
TrajectoryExercise2/evaluate_ptg.py:6
↓ 1 callersFunctionnearest_approach
(traj, vehicle)
TrajectoryExercise2/helpers.py:66
↓ 1 callersFunctionperturb_goal
Returns a "perturbed" version of the goal.
TrajectoryExercise2/ptg.py:88
↓ 1 callersFunctionshow_trajectory
(s_coeffs, d_coeffs, T, vehicle=None)
TrajectoryExercise2/helpers.py:81
Method__init__
(self, xs, vxs, axs, xe, vxe, axe, T)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:47
Method__init__
(self, xs, vxs, axs, vxe, axe, T)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:98
Method__init__
(self)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:145
Method__init__
(self, x, y)
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:17
Method__init__
(self, x, y)
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:136
Method__init__
(self, start)
TrajectoryExercise2/helpers.py:8
Functionbuffer_cost
Penalizes getting close to other vehicles.
TrajectoryExercise2/cost_functions.py:62
Methodcalc_first_derivative
(self, t)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:126
Methodcalc_point
(self, t)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:120
Methodcalc_second_derivative
(self, t)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:132
Functioncalc_spline_course
(x, y, ds=0.1)
Optimal Trajectory in a Frenet Frame/cubic_spline_planner.py:180
Methodcalc_third_derivative
(self, t)
Optimal Trajectory in a Frenet Frame/frenet_optimal_trajectory.py:137
Functioncollision_cost
Binary cost function which penalizes collisions.
TrajectoryExercise2/cost_functions.py:54
Functiond_diff_cost
Penalizes trajectories whose d coordinate (and derivatives) differ from the goal.
TrajectoryExercise2/cost_functions.py:29
Functionefficiency_cost
Rewards high average speeds.
TrajectoryExercise2/cost_functions.py:75
Functionexceeds_speed_limit_cost
(traj, target_vehicle, delta, T, predictions)
TrajectoryExercise2/cost_functions.py:72
Functionmain
Quintic-Polynomial-Solver/main.cpp:93
Functionmax_accel_cost
(traj, target_vehicle, delta, T, predictions)
TrajectoryExercise2/cost_functions.py:101
Functionmax_jerk_cost
(traj, target_vehicle, delta, T, predictions)
TrajectoryExercise2/cost_functions.py:112
Functions_diff_cost
Penalizes trajectories whose s coordinate (and derivatives) differ from the goal.
TrajectoryExercise2/cost_functions.py:13
Functionstays_on_road_cost
(traj, target_vehicle, delta, T, predictions)
TrajectoryExercise2/cost_functions.py:69
Functiontime_diff_cost
Penalizes trajectories that span a duration which is longer or shorter than the duration requested.
TrajectoryExercise2/cost_functions.py:5
Functiontotal_accel_cost
(traj, target_vehicle, delta, T, predictions)
TrajectoryExercise2/cost_functions.py:86
Functiontotal_jerk_cost
(traj, target_vehicle, delta, T, predictions)
TrajectoryExercise2/cost_functions.py:123