Skip to content

Commit a220a67

Browse files
committed
defined course object
1 parent 8e69510 commit a220a67

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/simulations/mapping/binary_grid_map_construction/binary_grid_map_construction.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@ def main():
5353
# set simulation parameters
5454
x_lim, y_lim = MinMax(-5, 55), MinMax(-20, 25)
5555
vis = GlobalXYVisualizer(x_lim, y_lim, TimeParameters(span_sec=25), show_zoom=False)
56+
57+
# create course data instance
58+
course = CubicSplineCourse([0.0, 10.0, 25, 40, 50],
59+
[0.0, 4, -12, 20, -13],
60+
20)
61+
vis.add_object(course)

0 commit comments

Comments
 (0)