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
Probably you didn’t source the Shell:
Sir, I’ve run that command. I’ve followed the unit step by step. But still throws error
Is the directory okay?
I tried google to solve the error, but I don’t understand their solutions
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