Error in example 4.5 of ROS2 in 5 days (Python)

Hi, in example 4.5 of ROS2 in 5 days (Python), when I run the command:

colcon build --packages-select custom_interfaces

I get the following error:

[0.303s] WARNING:colcon.colcon_core.package_selection:ignoring unknown package ‘custom_interfaces’ in --packages-select

Summary: 0 packages finished [0.19s]

May I know what is wrong? Thank you.

This probably means that colcon is not finding your package. Have you created it? You might have misspelled the one you created.

There was an error in the example given by The Construct. The error is in the package.xml file.
It should be custom_interfaces

It’s niggling errors like this, which is the reason why it takes far longer than 20 hours to finish the course.

Thank you for your help.

1 Like

Let’s have a look at this and get back to you. Thanks for the information.

Hi, thank you for bringing this to our attention.

I went through the exercise and the issue is that the instructions have a typo. The package is created as custom_interface when it should be custom_interfaces .

The notebook will be corrected