Skip to content

Commit

Permalink
defined course object
Browse files Browse the repository at this point in the history
  • Loading branch information
ShisatoYano committed Feb 25, 2025
1 parent 8e69510 commit a220a67
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ def main():
# set simulation parameters
x_lim, y_lim = MinMax(-5, 55), MinMax(-20, 25)
vis = GlobalXYVisualizer(x_lim, y_lim, TimeParameters(span_sec=25), show_zoom=False)

# create course data instance
course = CubicSplineCourse([0.0, 10.0, 25, 40, 50],
[0.0, 4, -12, 20, -13],
20)
vis.add_object(course)

0 comments on commit a220a67

Please sign in to comment.