diff --git a/_docs/tutorials/core/first_application_linux/index.md b/_docs/tutorials/core/first_application_linux/index.md index 16abb99c..a1981150 100644 --- a/_docs/tutorials/core/first_application_linux/index.md +++ b/_docs/tutorials/core/first_application_linux/index.md @@ -63,6 +63,14 @@ source install/local_setup.bash ``` {% include first_application_common/agent_creation.md %} +### Add micro-ROS environment to bashrc (optional) + +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 +``` + ## Running the micro-ROS app At this point, you have both the client and the agent correctly installed in your host machine.