diff --git a/instructions_custom_topics.md b/instructions_custom_topics.md index 097fa68..26adfd9 100644 --- a/instructions_custom_topics.md +++ b/instructions_custom_topics.md @@ -8,22 +8,22 @@ For this at least two packages will be required: The CMake package is required because the custom msg/srv/act files cannot be created inside the python package as this is not supported yet. __Table of Content__ -* [CMake Package (eg. /pubsub_msg)](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#cmake-package-eg-pubsub_msg) - * [Create CMake Package](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#1-create-cmake-package) - * [Create Message Files](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#2-create-message-files) - * [Configure CMakeLists.txt](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#3-configure-cmakeliststxt) - * [Configure package.xml](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#4-configure-packagexml) - * [Build Package](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#5-build-package) - * [Source newly built workspace](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#6-source-newly-built-workspace) - * [Check functionality](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#7-check-functionality) -* [Python Package (eg. /pubsub)](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#python-package-eg-pubsub) - * [Create Python Package](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#1-create-python-package) - * [Write Python Scripts](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#2-write-python-scripts) - * [Configure package.xml](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#3-configure-packagexml) - * [Build Package](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#4-build-package) - * [Source newly built workspace](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#5-source-newly-built-workspace) - * [Run scripts](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#6-run-scripts) -* [Sources](https://github.com/patrickw135/pubsub/blob/master/instructions_custom_topics.md#sources) +* [CMake Package (eg. /pubsub_msg)]() + * [Create CMake Package]() + * [Create Message Files]() + * [Configure CMakeLists.txt]() + * [Configure package.xml]() + * [Build Package]() + * [Source newly built workspace]() + * [Check functionality]() +* [Python Package (eg. /pubsub)]() + * [Create Python Package]() + * [Write Python Scripts]() + * [Configure package.xml]() + * [Build Package]() + * [Source newly built workspace]() + * [Run scripts]() +* [Sources]() @@ -137,7 +137,7 @@ This package can be created as a CMake (C++) package or as a python package depe ### 1. Create Python Package * Move to your workspace's source directory: `cd /src` -* Create python package: `rps2 pkg create --build-type ament_python ` +* Create python package: `ros2 pkg create --build-type ament_python ` ### 2. Write Python Scripts When using custom interfaces in python scripts these must be imported into the python script first