I have implemented the code as in the exercise, compiled the message and used in the code. "rosmsg list | grep Age" also shows the where the msg file should be. However when I do roslaunch, it gave me an error "ERROR: Cannot load message class for [topic_subscriber_pkg/Age]. Are your messages built?". Any help is appreciated.

asked 11 Jun, 22:25

awanthas%40yahoo.com's gravatar image

accept rate: 0%

Hi @awanthasyahoocom,

After building your message, have you run

source devel/setup.bash

on every shell where you are using the message, including this shell on which you are doing the roslaunch?

permanent link

answered 12 Jun, 09:56

bayodesegun%40bayodesegun.com's gravatar image

accept rate: 52%

reverted 12 Jun, 09:58

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 11 Jun, 22:25

question was seen: 19 times

last updated: 12 Jun, 09:58

powered by OSQA