This class wraps some or the real robot's functionality and adds the ROS2 functionality. Strictly speaking, more of it should be encapsulated here (and removed from launch file), so I will definitely revisit this class in future.
With Robot class, we can use ROS2 and Gazebo simulator. Here is a result for one of the planners: