[ROS Q&A] 027 – How to create and import a custom message

Video is ready, Click Here to View ×

In this video you will learn how to create and use a custom message, importing it into a Python script.

Here you have the video response to the question in GazeboAnswers:

[ Further learning course for this video ]
ROS Basics Course for Beginner: Learn the main concepts required to create and understand ROS programs
– (C++)
– (Python)

[ Question of the Tutorial ]
I have a package named node_example containing an msg folder containing these files

ViewTemplate.msg To run a python file depending on this message I used :

from node example.msg import ViewTemplate
But I get this error :


c++ tutorial for beginners

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.