How to deal with it?

Respected Professor,
I changed the name from Age.msg to age.msg and it worked. I compiled successfully. Then, when I executed the command roslaunch odometry_package age_publisher.launch, I get the following error.

Why is it and what would be the solution?

Below is all the code I have done

Hello @abdulbasitisdost,

Probably you didn’t source the Shell:

source ~/catkin_ws/devel/setup.bash


Sir, I’ve run that command. I’ve followed the unit step by step. But still throws error

Screenshot (672)
Is the directory okay?
I tried google to solve the error, but I don’t understand their solutions

Hello @abdulbasitisdost,

The problem is that you are doing the import wrong. You are missing the msg folder. The correct way is this:

from odometry_package.msg import age


1 Like