Skip to content

Commit 2267f04

Browse files
authored
Update local_grid_pub.py
Replace project-specific topic name with generic one
1 parent 52fa828 commit 2267f04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spot_local_grid/spot_local_grid/local_grid_pub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(self):
5050

5151
# Create ROS2 publisher
5252
self.get_logger().info("Creating OccupancyGrid publisher...")
53-
self.occupancy_grid_pub = self.create_publisher(OccupancyGrid, '/autogrammetry/object/local_grid', 10)
53+
self.occupancy_grid_pub = self.create_publisher(OccupancyGrid, f'/spot/local_grid/{LOCAL_GRID_NAME}', 10)
5454
self.get_logger().info("📢 OccupancyGrid publisher created successfully!")
5555

5656
# Indicate successful initialization

0 commit comments

Comments
 (0)