We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30837d3 + 1c081ed commit 9438894Copy full SHA for 9438894
PathPlanning/DynamicWindowApproach/dynamic_window_approach.py
@@ -22,7 +22,7 @@ def dwa_control(x, config, goal, ob):
22
23
dw = calc_dynamic_window(x, config)
24
25
- u, trajectory = calc_final_input(x, dw, config, goal, ob)
+ u, trajectory = calc_control_and_trajectory(x, dw, config, goal, ob)
26
27
return u, trajectory
28
@@ -101,7 +101,7 @@ def calc_dynamic_window(x, config):
101
x[4] - config.max_dyawrate * config.dt,
102
x[4] + config.max_dyawrate * config.dt]
103
104
- # [vmin,vmax, yaw_rate min, yaw_rate max]
+ # [vmin, vmax, yaw_rate min, yaw_rate max]
105
dw = [max(Vs[0], Vd[0]), min(Vs[1], Vd[1]),
106
max(Vs[2], Vd[2]), min(Vs[3], Vd[3])]
107
@@ -124,7 +124,7 @@ def predict_trajectory(x_init, v, y, config):
124
return traj
125
126
127
-def calc_final_input(x, dw, config, goal, ob):
+def calc_control_and_trajectory(x, dw, config, goal, ob):
128
"""
129
calculation final input with dynamic window
130
0 commit comments