From fbaa0e2287375a61546a629712ed2892d28f7f0b Mon Sep 17 00:00:00 2001 From: goch Date: Tue, 3 Jan 2023 14:05:36 +0100 Subject: [PATCH 1/3] add ROS setup and microros local setup to bashrc adding the setup.bash files for both ROS2 and micro-ros to the .bashrc reduces the complexity of the tutorial and makes it easier to understand --- _docs/tutorials/core/first_application_linux/index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_docs/tutorials/core/first_application_linux/index.md b/_docs/tutorials/core/first_application_linux/index.md index 16abb99c..f8832a83 100644 --- a/_docs/tutorials/core/first_application_linux/index.md +++ b/_docs/tutorials/core/first_application_linux/index.md @@ -63,6 +63,13 @@ source install/local_setup.bash ``` {% include first_application_common/agent_creation.md %} +### Add microros environment to bashrc (optional) + +You can add the ROS2 and microROS workspace setup files to your bashrc so the files do not have to be sourced everytime a new command line is opened +```bash +echo source /opt/ros/$ROS_DISTRO/setup.bash >> ~/.bashrc +echo source ~/microros_ws/install/local_setup.bash >> ~/.bashrc +``` ## Running the micro-ROS app At this point, you have both the client and the agent correctly installed in your host machine. From 078838d3c509272a89cdffe691da12bd4a837651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3n=20Casas?= Date: Tue, 16 Sep 2025 11:25:40 +0200 Subject: [PATCH 2/3] Apply ralph-lange's suggestions Co-authored-by: Ralph Lange --- _docs/tutorials/core/first_application_linux/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_docs/tutorials/core/first_application_linux/index.md b/_docs/tutorials/core/first_application_linux/index.md index f8832a83..9673128f 100644 --- a/_docs/tutorials/core/first_application_linux/index.md +++ b/_docs/tutorials/core/first_application_linux/index.md @@ -63,9 +63,9 @@ source install/local_setup.bash ``` {% include first_application_common/agent_creation.md %} -### Add microros environment to bashrc (optional) +### Add micro-ROS environment to bashrc (optional) -You can add the ROS2 and microROS workspace setup files to your bashrc so the files do not have to be sourced everytime a new command line is opened +You can add the ROS 2 and micro-ROS workspace setup files to your `.bashrc` so the files do not have to be sourced every time a new command line is opened. ```bash echo source /opt/ros/$ROS_DISTRO/setup.bash >> ~/.bashrc echo source ~/microros_ws/install/local_setup.bash >> ~/.bashrc From 00153354098d93054d7c72f0bf12a18c8841a3e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3n=20Casas?= Date: Tue, 16 Sep 2025 11:31:01 +0200 Subject: [PATCH 3/3] Add missing empty line --- _docs/tutorials/core/first_application_linux/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_docs/tutorials/core/first_application_linux/index.md b/_docs/tutorials/core/first_application_linux/index.md index 9673128f..a1981150 100644 --- a/_docs/tutorials/core/first_application_linux/index.md +++ b/_docs/tutorials/core/first_application_linux/index.md @@ -70,6 +70,7 @@ You can add the ROS 2 and micro-ROS workspace setup files to your `.bashrc` so t echo source /opt/ros/$ROS_DISTRO/setup.bash >> ~/.bashrc echo source ~/microros_ws/install/local_setup.bash >> ~/.bashrc ``` + ## Running the micro-ROS app At this point, you have both the client and the agent correctly installed in your host machine.