(已解决)ERROR: Cannot load message class for [plumbing_pub_sub/Person]. Are your messages built?

Tip: After the article is written, the table of contents can be automatically generated. For how to generate it, please refer to the help document on the right.

Article directory


Preface

rostopic custom topic error occurs

Solution

You must source devel/setup.bash under the workspace in the newly opened Terminal, otherwise such an error will occur when trying to rostopic echo the topic you defined.

source devel/setup.bash
rostopic echo /[你的topic]

Guess you like

Origin blog.csdn.net/cherish1211/article/details/131698582