Map error in rviz

In Unit 2, I created a launch file for running 2 nodes cartographer_node and occupancy_grid_node. But in rviz map shows error. Please help!!

Hello @dhanaprakaashg ,

Could you provide some more details? For instance:

  • Is the Shell where you executed your launch file showing any error?

  • Did you select the /map topic in RViz to visualize the map (it’s not appearing in the image)