Skip to content

Commit

Permalink
fix(trajectory_visualizer): fix plotter error (#5181)
Browse files Browse the repository at this point in the history
fix(trajectory_visualizer): fix plotter

Signed-off-by: Mamoru Sobue <[email protected]>
  • Loading branch information
soblin authored Oct 2, 2023
1 parent a448307 commit 14ef695
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,15 @@ def __init__(self):

# main process
if PLOT_TYPE == "VEL_ACC_JERK":
self.setPlotTrajectory()
self.ani = animation.FuncAnimation(
self.fig, self.plotTrajectory, interval=100, blit=True
)
self.setPlotTrajectory()
else:
self.setPlotTrajectoryVelocity()
self.ani = animation.FuncAnimation(
self.fig, self.plotTrajectoryVelocity, interval=100, blit=True
)
self.setPlotTrajectoryVelocity()

plt.show()

Expand Down

0 comments on commit 14ef695

Please sign in to comment.