Skip to content

Commit 3a7df47

Browse files
committed
comment plot from velocity profile
1 parent 9f1a7f3 commit 3a7df47

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

GEMstack/onboard/planning/velocity_profile.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -287,21 +287,21 @@ def compute_velocity_profile(points, plot=True):
287287

288288
a = dv/dt
289289

290-
plot_x_y(axs[0, 0], t, v_profile, "t", "v")
291-
plot_x_y(axs[1, 0], t[:-1], a, "t", "a")
292-
# plot_x_y(axs[1, 1], t, forward_vs, "t", "forward & backward vs")
293-
# plot_x_y(axs[1, 1], t, backward_vs, "t", "forward & backward vs")
294-
plot_x_y(axs[0, 1], t, kappa, "t", "kappa")
290+
# plot_x_y(axs[0, 0], t, v_profile, "t", "v")
291+
# plot_x_y(axs[1, 0], t[:-1], a, "t", "a")
292+
# # plot_x_y(axs[1, 1], t, forward_vs, "t", "forward & backward vs")
293+
# # plot_x_y(axs[1, 1], t, backward_vs, "t", "forward & backward vs")
294+
# plot_x_y(axs[0, 1], t, kappa, "t", "kappa")
295295

296-
plot_speed_profile_gradient(fig, axs[1, 1], xs, ys, v_profile)
296+
# plot_speed_profile_gradient(fig, axs[1, 1], xs, ys, v_profile)
297297

298-
# # Save to CSV
299-
# df = pd.DataFrame({'x': xs, 'y': ys, 'v': v_profile, 't': t})
300-
# df.to_csv('v_profile.csv', index=False)
298+
# # # Save to CSV
299+
# # df = pd.DataFrame({'x': xs, 'y': ys, 'v': v_profile, 't': t})
300+
# # df.to_csv('v_profile.csv', index=False)
301301

302302

303-
plt.tight_layout()
304-
plt.show()
303+
# plt.tight_layout()
304+
# plt.show()
305305

306306
return t, v_profile
307307

0 commit comments

Comments
 (0)