Skip to content

Commit

Permalink
Added specifc commit for NAND
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulgoel873 committed Apr 4, 2024
1 parent e4593b7 commit 5a13a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb_ws/src/buggy/scripts/serial/ros_to_bnyahaj.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, self_name, other_name, teensy_name):
rospy.Subscriber(self_name + "/debug/sanity_warning", Int8, self.set_alarm)


if other_name is None:
if other_name is None and self_name == "NAND":
self.odom_publisher = rospy.Publisher(self_name + "/nav/odom", ROSOdom, queue_size=1)
else:
self.odom_publisher = rospy.Publisher(other_name + "/nav/odom", ROSOdom, queue_size=1)
Expand Down

0 comments on commit 5a13a3c

Please sign in to comment.