Skip to content

Commit

Permalink
fixed subscribers
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackack committed Jan 3, 2025
1 parent 7db20f1 commit 8f287be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rb_ws/src/buggy/buggy/path_planner/path_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def __init__(self, nominal_traj:Trajectory, left_curb:Trajectory) -> None:
super().__init__('path_planner')
self.other_buggy_xtrack_publisher = self.create_publisher(Float64, "self/debug/other_buggy_xtrack", 10)
self.traj_publisher = self.create_publisher(TrajectoryMsg, "self/cur_traj", 10)
self.odom_subscriber = self.create_subscription(Odometry, 'self/state', self.odom_listener, 1)
self.self_pose_subscriber = self.create_subscription(Odometry, 'self/state', self.self_pose_callback, 1)
self.other_pose_subscriber = self.create_subscription(Odometry, 'other/state', self.other_pose_callback, 1)

self.nominal_traj = nominal_traj
self.left_curb = left_curb
Expand Down

0 comments on commit 8f287be

Please sign in to comment.