I got a Linksys router (MR5500) and literally applauded when I switched it on, connected the computer, the Pi (lidar), and Create3 (robot), and got the robot nodes to appear when running the "ros2 node list." *
After launching slam_toolbox, I saw the scans THROUGH RVIZ! But alas, the /map topic would not come through. I set the system up as a Discovery Server, and the same symptom. I let it marinate over a day or two... (you laugh. I don't know what it is, some kind of caching or something time-dependent). **
No map topic.
My perseverance paid off when I connected my new router to the TMobile 5G Gateway (not just local wifi). Miraculously, the map started coming through (HALLELUJAH!). However, this victory was short-lived as the map only appeared briefly (still better than not at all). The "hz" reading was 0.200, far from the desired 5.000. ***
Noticed the "OccupancyGrid" subscriber was "RELIABLE" Quality of Service (QoS)... changed it to "BEST_EFFORT"... no diff.
I will keep you posted.
Thanks
Camp
* Recall when we last left off the /scan topic would disappear from the workstation when slam_toolbox or the localization routine were launched.
** With Internet using "sudo ntpd server
pool.ntp.org" otherwise tying it to the user workstation's IP.
*** No idea why connecting to the Internet (modem) would make this difference. It should pass the messages fine with just a local wifi.