Issue with Real Robot ROS2 C++ project topic subscriber

Well, then, the problem is somewhere in your code. What you can do:

  • Carefully compare your code to the samples given in the course.
  • You might not be calling ros::spin() properly in your code. Please see this post for more information.