Exercise 4.5: Error: cannot launch node of type [topics_25/publish_age]

Hi

I come across the following error when try to launch the node. Also there is an error appears in my c++ file: ‘topics_25/Age.h file not found’. Could you please help?

Hi,

Please check that you have:

  1. Sourded the catkin_ws after the compilation of the messages:

cd /home/user/catkin_ws; catkin_make; source devel/Setup.bash

  1. Check that the python script is executable

  2. Check you created correctly the package and you didn’t remove something form the CMakelists.txt that could break the ROS package.