From 7d9e888f72fe73c70977d5002603d8a0f927d7c9 Mon Sep 17 00:00:00 2001 From: winterhalderp Date: Sat, 6 Feb 2021 16:18:35 +0100 Subject: [PATCH] Update 'instructions_custom_topics.md' --- instructions_custom_topics.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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