Missing Information about the package

ROS2 Basics in 5 Days (C++)
Unit 5 ROS2 Services
Example 5.5

1. Create a directory srv in your package. For this example, you will use the custom_interfaces package that you created in the previous unit.

Note: There is no previous unit in this course.

Hi @alshamsi.mohammad ,

Although the instructions tell you to refer to the previous unit, they actually mean to refer to the custom package creation unit that you read under the Topics portion of the ROS2 Basics course.

Creating a srv in a custom package called custom_interfaces is quite similar to creating a msg in a custom interface package. The only difference is the interface structure msg is different from srv msg is a single part interface, whereas srv is a two-part interface with request and response.

I hope this clarifies your confusion.

Regards,
Girish

Dear @girishkumar.kannan ,

Thank you for your feedback, but the point I’m trying to raise here is that the custom_interfaces package which need to be used in this example was created in Section 5: Introduction to ROS2 (Part 1)
which is not accessible in Section 6: Introduction to ROS2 (Part 2).

This is just to avoid the confusing and improving the documentation for this course :slightly_smiling_face:

regards,
Mohammad

Hi @alshamsi.mohammad ,

You should be able to access any course material from your current course or rosject using the “Review Course Notebooks” button present in the bottom panel of your screen on the right side.

review_coure_notebook_button.png

The button / icon highlighted with the red square box is the button that you would use to access any previous course notebook or materials.

I don’t see any confusion or an issue here.

Let me know if you still have issues.

Regards,
Girish

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.