ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Hi @pibauer,

when we use our custom messages, even if they are listed with rosmsg list, they only can be used by our nodes after they be compiled.

I have created a video (https://youtu.be/18vxZoosURQ) that answers exactly this question.

The steps explained in the video are basically the following:

  1. You have to compile your message. For that, you have to touch the package.xml and CMakeLists.txt according to the instructions found on CMakeLists.txt. After prepare the package.xml and CMakeLists.txt, you run catkin_make on your catkin_ws

  2. After the message is compiled, you have to source the setup.bash like: source catkin_ws/devel/setup.bash

  3. Now you can import your messages without any problem.

That is it. If you still have any doubts, just ask here or watch the video.

Hi @pibauer,

when we use our custom messages, even if they are listed with rosmsg list, they only can be used by our nodes after they be compiled.

I have created a video (https://youtu.be/18vxZoosURQ) (https://youtu.be/NKeebwRNvv8) that answers exactly this question.

The steps explained in the video are basically the following:

  1. You have to compile your message. For that, you have to touch the package.xml and CMakeLists.txt according to the instructions found on CMakeLists.txt. After prepare the package.xml and CMakeLists.txt, you run catkin_make on your catkin_ws

  2. After the message is compiled, you have to source the setup.bash like: source catkin_ws/devel/setup.bash

  3. Now you can import your messages without any problem.

That is it. If you still have any doubts, questions, just ask here or watch the video.video aforementioned.