The short story: I have reloaded a ROSbot 2 Pro with the Foxy reload and tried to run the basic demo and Rviz. I am not seeing the map or laser scan in Rviz.
RVIZ says: Error subscribing, empty topic name under the Status: Error message.
The long story: My ROSbot 2 Pro has been collecting dust for 2 years so I thought I would try out the latest software and see if I can make more progress. I did a fresh load of Foxy per the System Reinstallation in the manual. (It is not clear how to chose a Distro so I just chose Foxy …)
It all went fairly smooth, I flashed the firmware and the:ros2 launch rosbot_description rosbot_pro.launch.py starts.
I am running remote desktop from a Windows 10 PC. The robot starts, the Lidar starts spinning and the terminal I start it from looks pretty normal (A few messages come up randomly about dropping message : frame ‘Laser’ but not continious.
‘rviz2’ starts a Rviz window and the goes from "Global Status - No Tf data - to Global status OK when the lauch has completed, so that suggests something is connected.
When I try and add a Map or laser scan, Rviz is just telling me:
If I reset Rviz the message goes to this - but still no Map or Laser scan to be seen in Rviz. (Just the grid, or Axis if I add them)
The window I start Rviz from does say - after the startup messages:
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 14691, resource id: 16814743, major code: 40 (TranslateCoords), minor code: 0
I hope you can help me at least get to the first demo!
Thanks in advance.