Skip to content

Commit 14ef695

Browse files
authoredOct 2, 2023
fix(trajectory_visualizer): fix plotter error (#5181)
fix(trajectory_visualizer): fix plotter Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
1 parent a448307 commit 14ef695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎planning/planning_debug_tools/scripts/trajectory_visualizer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,15 +178,15 @@ def __init__(self):
178178

179179
# main process
180180
if PLOT_TYPE == "VEL_ACC_JERK":
181+
self.setPlotTrajectory()
181182
self.ani = animation.FuncAnimation(
182183
self.fig, self.plotTrajectory, interval=100, blit=True
183184
)
184-
self.setPlotTrajectory()
185185
else:
186+
self.setPlotTrajectoryVelocity()
186187
self.ani = animation.FuncAnimation(
187188
self.fig, self.plotTrajectoryVelocity, interval=100, blit=True
188189
)
189-
self.setPlotTrajectoryVelocity()
190190

191191
plt.show()
192192

0 commit comments

Comments
 (0)
Please sign in to comment.