diff --git a/instructions_custom_topics.md b/instructions_custom_topics.md index 4a64dd6..e041c60 100644 --- a/instructions_custom_topics.md +++ b/instructions_custom_topics.md @@ -125,14 +125,14 @@ publishing #1: pubsub_msg.msg.CustomMsg2(pitch_ctrl=33.33, yaw_ctrl=0.5)..._ ## Python Package (eg. /pubsub) This package contains your scripts, programs and libraries. After building the workspace (`colcon build`) the custom messages are available to all other packages. -This package can be created as a CMake (C++) package or as a python package depending on your coding preference. -* C++: `ros2 pkg create --build-type ament-cmake ` -* Python: `ros2 pkg create --build-type ament-python ` +This package can be created as a CMake (C++) package or as a python package depending on your coding preference, e.g. +* C++: `ros2 pkg create --build-type ament_cmake ` +* Python: `ros2 pkg create --build-type ament_python ` directory: * This directory contains your python scripts (eg. listener.py) -* Also place the non-standard libraries in this directory and import the library in your python scripts +* Also place non-standard libraries in this directory and import them in your python scripts ### 1. Create Python Package