Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update trajectory visualizer #737

Merged
Prev Previous commit
ci(pre-commit): autofix
  • Loading branch information
pre-commit-ci[bot] committed Apr 20, 2022
commit 53d7712d144bf244211eb2fdf8d74ceedd78a298
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ def CallbackObstacleStopTraj(self, cmd):
def setPlotTrajectoryVelocity(self):
self.ax1 = plt.subplot(1, 1, 1) # row, col, index(<raw*col)
(self.im1,) = self.ax1.plot([], [], label="0: behavior_path_planner_path", marker="")
(self.im2,) = self.ax1.plot([], [], label="1: behavior_velocity_planner_path", marker="", ls="--")
(self.im2,) = self.ax1.plot(
[], [], label="1: behavior_velocity_planner_path", marker="", ls="--"
)
(self.im3,) = self.ax1.plot([], [], label="2: obstacle_avoid_traj", marker="", ls="-.")
(self.im4,) = self.ax1.plot([], [], label="3: obstacle_stop_traj", marker="", ls="--")
(self.im5,) = self.ax1.plot([], [], label="4-1: opt input", marker="", ls="--")
Expand Down