From 2eae305eb0ea9e5e442f16b17645d90a6f3e75e5 Mon Sep 17 00:00:00 2001 From: Jiri Vlasak Date: Sun, 19 Mar 2023 22:56:25 +0100 Subject: [PATCH] Use single bicycle car model --- path-to-traj.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/path-to-traj.py b/path-to-traj.py index c9ef49f..c865768 100755 --- a/path-to-traj.py +++ b/path-to-traj.py @@ -433,13 +433,6 @@ if __name__ == "__main__": for i in range(len(path_segments)): s = path_segments[i] s_is_cusp = i in cusps - # Comment the following three lines to have the single - # BicycleCar model over all the segments without reseting the - # model at the beginning of each segment. - old_sp = c.sp - c = BicycleCar(*s.init_pose[:3]) - c.sp = old_sp - # --- c.acc = set_max(s.direction(), c.max_acc) c.dwa = set_max(s.type(), c.max_wa) d = 0 -- 2.39.2