{"id":26060484,"url":"https://github.com/adnksharp/ubuntu-recommendations","last_synced_at":"2026-03-07T23:01:46.957Z","repository":{"id":276384031,"uuid":"929134189","full_name":"adnksharp/ubuntu-recommendations","owner":"adnksharp","description":"Instalación de Arduino 2, VS Code, ROS2 y ZSH en Ubuntu","archived":false,"fork":false,"pushed_at":"2025-03-03T00:41:23.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"base","last_synced_at":"2025-03-03T01:30:09.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adnksharp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-07T21:43:12.000Z","updated_at":"2025-03-03T00:41:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"07839209-a74f-4d14-a754-990b95a14bd1","html_url":"https://github.com/adnksharp/ubuntu-recommendations","commit_stats":null,"previous_names":["adnksharp/ubuntu-recommendations"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adnksharp/ubuntu-recommendations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fubuntu-recommendations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fubuntu-recommendations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fubuntu-recommendations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fubuntu-recommendations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adnksharp","download_url":"https://codeload.github.com/adnksharp/ubuntu-recommendations/tar.gz/refs/heads/base","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adnksharp%2Fubuntu-recommendations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30236043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-08T14:08:28.421Z","updated_at":"2026-03-07T23:01:46.938Z","avatar_url":"https://github.com/adnksharp.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Recomendaciones después de instalar Ubuntu\n\n* [Instalación completa](#instalación-completa)\n* [Instalación individual](#instalación-individual)\n  * [Paquetes necesarios](#paquetes-necesarios)\n  * [Visual Studio Code](#vs-code-1)\n  * [ZSH](#interprete-de-comandos-zsh)\n  * [Arduino 2](#arduino-ide-2)\n  * [LaTex](#latex)\n  * [ROS2](#ros2-1)\n  * [Software Opcional](#software-opcional-1)\n    * [Mission Center](#visor-de-uso-de-hardware-parecido-a-windows-1)\n    * [Fastfetch](#fastfetch)\n    * [Ranger](#gestor-de-archivos-desde-la-terminal-ranger)\n* [Configuración](#configuración)\n  * [VS Code](#extensiones-para-vs-code)\n  * [Arduino](#configuraciones-de-arduino)\n  * [Python](#librerías-de-python)\n  * [Micro ROS](#uros)\n\n## Instalación completa\n### Instalación de paquetes necesarios\n\n```shell\nsudo apt install curl clang software-properties-common wget power-profiles-daemon\n```\n\n\u003e [!NOTE]\n\u003e * `curl`: Conexión a internet para transferir datos.\n\u003e * `clang`: Compilador de C/C++/ObjetiveC...\n\u003e * `software-properties-common`: Scripts para agregar fuentes de software extra.\n\u003e * `wget`: Parecido a curl.\n\u003e * `power-profiles-daemon`: Perfiles de energia.\n\n### Agregar claves de los nuevos repositorios\n#### ROS2 gpg key\n```shell\nsudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg\n```\n\n#### VS Code gpg key \n```shell\nwget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -\n```\n\n### Agregar repositorios extra\n#### Drivers de video\n```shell\nsudo add-apt-repository ppa:kisak/kisak-mesa\n```\n\n#### VS Code\n```shell\nsudo add-apt-repository \"deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main\"\n```\n\n#### Tienda de apps, Flatpak\n```shell\nsudo add-apt-repository ppa:flatpak/stable\n```\n\n#### Software variado\n```shell\nsudo add-apt-repository universe\n```\n\n#### ROS2 \n```shell\necho \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release \u0026\u0026 echo $UBUNTU_CODENAME) main\" | sudo tee /etc/apt/sources.list.d/ros2.list \u003e /dev/null\n```\n\n#### Visor de info del sistema, fastfetch\n```shell\nsudo add-apt-repository ppa:fastfetch/stable\n```\n\n### Actualización del sistema\n```shell\nsudo apt update ; sudo apt upgrade\n```\n\n### [OPCIONAL] Cambio de intérprete de comandos sell\n[Wiki de ohmyzsh](https://github.com/ohmyzsh/ohmyzsh/wiki#getting-started)\n\n#### Instalación de zsh y ohmyzsh\n```shell\nsudo apt install zsh\nsh -c \"$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\"\n```\n\n\u003e [!NOTE]\n\u003e * `zsh`: Shell mejorada de la shell instalada por defecto bash.\n\u003e * `ohmyzsh`: Framework para bustear zsh.\n\n#### Cambio de shell\n```shell\nchsh -s /usr/bin/zsh\n```\n\n### Instalación de flatpack\n```shell\nsudo apt install flatpak gnome-software-plugin-flatpak\nflatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo\n```\n\n\u003e [!NOTE]\n\u003e * `flatpak`: Software base.\n\u003e * `gnome-software-plugin-flatpak`: Interfaz gráfica de la tienda de flatpak.\n\n### Instalación de VS Code\n```shell\nsudo apt install code\n```\n\n### Instalación de Arduino IDE 2\n```shell\nflatpak install flathub cc.arduino.IDE2\n```\n\n#### Agregar permisos para usar los dispositivos `/dev/tty*`\n```shell\nsudo usermod -a -G dialout $USER\n```\n\n### Instalación de LaTeX\n```shell\nsudo apt install latexmk texlive\n```\n\n\u003e [!NOTE]\n\u003e * `texlive`: Paquete base de latex\n\u003e * `latexmk`: Auto-compilador de latex\n\n### Instalación de ROS2\n#### Instalación de paquetes base\n```shell\nsudo apt install -y \\\n  python3-flake8-blind-except \\\n  python3-flake8-class-newline \\\n  python3-flake8-deprecated \\\n  python3-mypy \\\n  python3-pip \\\n  python3-pytest \\\n  python3-pytest-cov \\\n  python3-pytest-mock \\\n  python3-pytest-repeat \\\n  python3-pytest-rerunfailures \\\n  python3-pytest-runner \\\n  python3-pytest-timeout \\\n  ros-dev-tools\n```\n\n#### Descarga de las herramientas de ROS2\n```shell\nsudo apt update \u0026\u0026 sudo apt install ros-dev-tools\n```\n\n#### Descarga de ROS2\n\n\u003cdetails\u003e\u003csummary\u003eUbuntu 24\u003c/summary\u003e\n\n```shell\nsudo apt install ros-jazzy-desktop\n```\n\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003eUbuntu 22\u003c/summary\u003e\n\n```shell\nsudo apt install ros-humble-desktop\n```\n\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003eUbuntu 20\u003c/summary\u003e\n\n```shell\nsudo apt install ros-foxy-desktop python3-argcomplete\n```\n\u003c/details\u003e\n\n#### Agregar las herramientas de ROS2 a la configuración del intérprete de comandos\n\nEditar el archivo \n\n```shell\nnano ~/.bashrc\n```\n\n\n\n```shell\nnano ~/.zshrc\n```\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Rolling\u003c/summary\u003e\n\n```shell\nrun-ros() \n{\n     export ROS_DOMAIN_ID=49\n     export ROS_VERSION=2\n     export ROS_PYTHON_VERSION=3\n     export ROS_DISTRO=rolling\n     source /opt/ros/rolling/setup.zsh\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Jazzy\u003c/summary\u003e\n\n```shell\nrun-ros() \n{\n     export ROS_DOMAIN_ID=41\n     export ROS_VERSION=2\n     export ROS_PYTHON_VERSION=3\n     export ROS_DISTRO=jazzy\n     source /opt/ros/jazzy/setup.zsh\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Humble\u003c/summary\u003e\n\n```shell\nrun-ros() \n{\n     export ROS_DOMAIN_ID=41\n     export ROS_VERSION=2\n     export ROS_PYTHON_VERSION=3\n     export ROS_DISTRO=humble\n     source /opt/ros/humble/setup.zsh\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Foxy\u003c/summary\u003e\n\n```shell\nrun-ros() \n{\n     export ROS_DOMAIN_ID=41\n     export ROS_VERSION=2\n     export ROS_PYTHON_VERSION=3\n     export ROS_DISTRO=foxy\n     source /opt/ros/foxy/setup.zsh\n}\n```\n\u003c/details\u003e\n\n\u003e [!NOTE]\n\u003e Con esto, al ejecutar `run-ros` se cargarán las herramientas de ros junto con las definiciones `ROS_DOMAIN_ID`, `ROS_VERSION`, etc.\n\n### Software opcional\n#### Visor de uso de hardware parecido a Windows\n``` shell\nflatpak install flathub io.missioncenter.MissionCenter\n```\n\n#### Visor de info del sistema en la terminal\n```shell\nsudo apt install fastfetch\n```\n\n#### Gestor de archivos desde la terminal\n```shell\nsudo apt install ranger\n```\n\n## Instalación individual\n### Paquetes necesarios\n\n```shell\nsudo apt install curl clang software-properties-common wget power-profiles-daemon\n```\n\n#### Drivers de video\n```shell\nsudo add-apt-repository ppa:kisak/kisak-mesa\n```\n\n#### Software variado\n```shell\nsudo add-apt-repository universe\n```\n\n#### Tienda de apps, Flatpak\n```shell\nsudo add-apt-repository ppa:flatpak/stable\n```\n\n#### Actualización del sistema\n```shell\nsudo apt update ; sudo apt upgrade\n```\n\n#### Instalación de flatpack\n```shell\nsudo apt install flatpak gnome-software-plugin-flatpak\nflatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo\n```\n\n### VS Code\n\n#### Agragar clave gpg de VS Code\n```shell\nwget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -\n```\n\n#### Agregar repositorio de VS Code\n```shell\nsudo add-apt-repository \"deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main\"\n```\n\n#### Actualización del sistema\n```shell\nsudo apt update ; sudo apt upgrade\n```\n\n#### Instalación de VS Code\n```shell\nsudo apt install code\n```\n\n### Interprete de comandos ZSH\n[Wiki de zsh](https://github.com/ohmyzsh/ohmyzsh/wiki#getting-started)\n\n#### Instalación de zsh\n```shell\nsudo apt install zsh\n```\n\n#### Instalación de ohmyzsh\n```shell\nsh -c \"$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\"\n```\n\n#### Cambio de shell\n```shell\nchsh -s /usr/bin/zsh\n```\n\n\n### Arduino IDE 2\n```shell\nflatpak install flathub cc.arduino.IDE2\n```\n\n#### Agregar permisos para usar los dispositivos `/dev/tty*`\n```shell\nsudo usermod -a -G dialout $USER\n```\n\n### LaTeX\n```shell\nsudo apt install latexmk texlive\n```\n\n### ROS2\n#### Agregar clave gpg de ROS2\n```shell\nsudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg\n```\n\n\n#### Agregar repositorio de ROS2 \n```shell\necho \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release \u0026\u0026 echo $UBUNTU_CODENAME) main\" | sudo tee /etc/apt/sources.list.d/ros2.list \u003e /dev/null\n```\n\n#### Actualización del sistema\n```shell\nsudo apt update ; sudo apt upgrade\n```\n\n#### Instalación de paquetes necesarios por ROS2\n```shell\nsudo apt install -y \\\n  python3-flake8-blind-except \\\n  python3-flake8-class-newline \\\n  python3-flake8-deprecated \\\n  python3-mypy \\\n  python3-pip \\\n  python3-pytest \\\n  python3-pytest-cov \\\n  python3-pytest-mock \\\n  python3-pytest-repeat \\\n  python3-pytest-rerunfailures \\\n  python3-pytest-runner \\\n  python3-pytest-timeout \\\n  python3-colcon-common-extensions \\\n  ros-dev-tools\n```\n\n#### Descarga de ROS\n\n\u003cdetails\u003e\u003csummary\u003eUbuntu 24\u003c/summary\u003e\n\n```shell\nsudo apt install ros-jazzy-desktop\n```\n\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003eUbuntu 22\u003c/summary\u003e\n\n```shell\nsudo apt install ros-humble-desktop\n```\n\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003eUbuntu 20\u003c/summary\u003e\n\n```shell\nsudo apt install ros-foxy-desktop python3-argcomplete\n```\n\u003c/details\u003e\n\n\n#### Agregar las herramientas de ROS2 a la configuración del intérprete de comandos\n\nEditar el archivo \n\n```shell\nnano ~/.bashrc\n```\n\n\n\n```shell\nnano ~/.zshrc\n```\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Rolling\u003c/summary\u003e\n\n```shell\nrun-ros() \n{\n     export ROS_DOMAIN_ID=49\n     export ROS_VERSION=2\n     export ROS_PYTHON_VERSION=3\n     export ROS_DISTRO=rolling\n     source /opt/ros/rolling/setup.zsh\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Jazzy\u003c/summary\u003e\n\n```shell\nrun-ros() \n{\n     export ROS_DOMAIN_ID=41\n     export ROS_VERSION=2\n     export ROS_PYTHON_VERSION=3\n     export ROS_DISTRO=jazzy\n     source /opt/ros/jazzy/setup.zsh\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Humble\u003c/summary\u003e\n\n```shell\nrun-ros() \n{\n     export ROS_DOMAIN_ID=41\n     export ROS_VERSION=2\n     export ROS_PYTHON_VERSION=3\n     export ROS_DISTRO=humble\n     source /opt/ros/humble/setup.zsh\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Foxy\u003c/summary\u003e\n\n```shell\nrun-ros() \n{\n     export ROS_DOMAIN_ID=41\n     export ROS_VERSION=2\n     export ROS_PYTHON_VERSION=3\n     export ROS_DISTRO=foxy\n     source /opt/ros/foxy/setup.zsh\n}\n```\n\u003c/details\u003e\n\n\u003e [!NOTE]\n\u003e Con esto, al ejecutar `run-ros` se cargarán las herramientas de ros junto con las definiciones `ROS_DOMAIN_ID`, `ROS_VERSION`, etc.\n\n### Software opcional\n#### Visor de uso de hardware parecido a Windows\n``` shell\nflatpak install flathub io.missioncenter.MissionCenter\n```\n\n#### Fastfetch\n##### Agregar repositorio\n```shell\nsudo add-apt-repository ppa:fastfetch/stable\n```\n\n##### Instalar fastfetch\n```shell\nsudo apt install fastfetch\n```\n\n#### Gestor de archivos desde la terminal, ranger\n```shell\nsudo apt install ranger\n```\n\n## Configuración\n### Extensiones para VS Code\n\n1. `Ctrl + Shift + x` Para abrir la tienda de extensiones.\n2. Instalar `Spanish Language` y `Python`.\n\n|![](https://i.imgur.com/1Bg4QCs.png)|![](https://i.imgur.com/ieua0hs.png)|\n|---|---|\n\n### Configuraciones de Arduino\n1. Cambiar el idioma de la IDE a español `File \u003e Preferences \u003e Languaje : español`\n2. Instalar `esp32 by Espressif` desde el gestor de tarjetas de Arduino\n![](https://i.imgur.com/3CAvWoM.png)\n\n### Librerías de Python\n```shell\npip install colorama progress matplotlib opencv-python numpy python-dotenv pandas PySide6 toml vtk pyserial pyperclip pygame notify_py \n```\n\n### uROS\nTutorial completo de $$\\mu$$ ROS en [micro.ros.org](https://micro.ros.org/docs/tutorials/core/first_application_linux/).\n\n#### 1. Crear un espacio de trabajo de $$\\mu$$ ROS\n\n```shell\nmkdir ~/uros_ws/\ncd ~/uros_ws\n```\n\n#### 2. Clonar los repositorios de $$\\mu$$ ROS\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Rolling\u003c/summary\u003e\n  \u003cdetails\u003e\u003csummary\u003eshell bash\u003c/summary\u003e\n \n  ```shell\n  source /opt/ros/rolling/setup.bash\n  ```\n  \u003c/details\u003e\u003cdetails\u003e\u003csummary\u003eshell ZSH\u003c/summary\u003e\n       \n  ```shell\n  source /opt/ros/rolling/setup.zsh\n  ```\n  \u003c/details\u003e\n  \n  ```shell\n  git clone -b rolling https://github.com/micro-ROS/micro_ros_setup.git src/micro_ros_setup\n  ```\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Jazzy\u003c/summary\u003e\n  \u003cdetails\u003e\u003csummary\u003eshell bash\u003c/summary\u003e\n \n  ```shell\n  source /opt/ros/jazzy/setup.bash\n  ```\n  \u003c/details\u003e\u003cdetails\u003e\u003csummary\u003eshell ZSH\u003c/summary\u003e\n       \n  ```shell\n  source /opt/ros/jazzy/setup.zsh\n  ```\n  \u003c/details\u003e\n  \n  ```shell\n  git clone -b jazzy https://github.com/micro-ROS/micro_ros_setup.git src/micro_ros_setup\n  ```\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Humble\u003c/summary\u003e\n  \u003cdetails\u003e\u003csummary\u003eshell bash\u003c/summary\u003e\n \n  ```shell\n  source /opt/ros/humble/setup.bash\n  ```\n  \u003c/details\u003e\u003cdetails\u003e\u003csummary\u003eshell ZSH\u003c/summary\u003e\n       \n  ```shell\n  source /opt/ros/humble/setup.zsh\n  ```\n  \u003c/details\u003e\n  \n  ```shell\n  git clone -b humble https://github.com/micro-ROS/micro_ros_setup.git src/micro_ros_setup\n  ```\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Foxy\u003c/summary\u003e\n  \u003cdetails\u003e\u003csummary\u003eshell bash\u003c/summary\u003e\n \n  ```shell\n  source /opt/ros/foxy/setup.bash\n  ```\n  \u003c/details\u003e\u003cdetails\u003e\u003csummary\u003eshell ZSH\u003c/summary\u003e\n       \n  ```shell\n  source /opt/ros/foxy/setup.zsh\n  ```\n  \u003c/details\u003e\n  \n  ```shell\n  git clone -b foxy https://github.com/micro-ROS/micro_ros_setup.git src/micro_ros_setup\n  ```\n\u003c/details\u003e\n\n#### 3. Actualizar las dependencias\n\n```shell\nsudo apt update\nrosdep update\nrosdep install --from-path src --ignore-src -y\n```\n\n#### 4. Compilar $$\\mu$$ ROS\n\n```shell\ncolcon build\n```\n\n#### 5. Iniciar las herramientas de $$\\mu$$ ROS\n\n\u003cdetails\u003e\u003csummary\u003ebash\u003c/summary\u003e\n\n```shell\nsource install/local_setup.bash\n```\n\u003c/details\u003e\u003cdetails\u003e\u003csummary\u003eZSH\u003c/summary\u003e\n\n```shell\nsource install/local_setup.zsh\n```\n\u003c/details\u003e\n\n#### 6. Construir el firmware\n\n```shell\nros2 run micro_ros_setup build_firmware.sh\n```\n\n\u003cdetails\u003e\u003csummary\u003ebash\u003c/summary\u003e\n\n```shell\nsource install/local_setup.bash\n```\n\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003eZSH\u003c/summary\u003e\n\n```shell\nsource install/local_setup.zsh\n```\n\u003c/details\u003e\n\n#### 7. Crear el agente de $$\\mu$$ ROS\n\n```shell\nros2 run micro_ros_setup create_agent_ws.sh\nros2 run micro_ros_setup build_agent.sh\n```\n\n\u003cdetails\u003e\u003csummary\u003ebash\u003c/summary\u003e\n\n```shell\nsource install/local_setup.bash\n```\n\u003c/details\u003e\u003cdetails\u003e\u003csummary\u003eZSH\u003c/summary\u003e\n\n```shell\nsource install/local_setup.zsh\n```\n\u003c/details\u003e\n\n#### 8. Descaargar las librerías de $$\\mu$$ ROS\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Rolling\u003c/summary\u003e\n\n```shell\ngit clone -b rolling https://github.com/micro-ROS/micro_ros_arduino.git ~/Arduino/libraries/micro_ros_arduino\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Jazzy\u003c/summary\u003e\n\n```shell\ngit clone -b jazzy https://github.com/micro-ROS/micro_ros_arduino.git ~/Arduino/libraries/micro_ros_arduino\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Humble\u003c/summary\u003e\n\n```shell\ngit clone -b humble https://github.com/micro-ROS/micro_ros_arduino.git ~/Arduino/libraries/micro_ros_arduino\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eROS2 Foxy\u003c/summary\u003e\n\n```shell\ngit clone -b foxy  https://github.com/micro-ROS/micro_ros_arduino.git ~/Arduino/libraries/micro_ros_arduino\n```\n\u003c/details\u003e\n\n#### 9. Cargar un ejemplo de Arduino\n\n1. Abre el ejemplo `micro_ros_arduino_examples/publisher` en Arduino IDE 2.\n2. Carga el ejemplo en la placa ESP32.\n\n![](https://i.imgur.com/x3n5BMu.png)\n\n#### 10. Ejecutar el agente de $$\\mu$$ ROS\n\n```shell\nros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyUSB0\n```\n\n\u003cdetails\u003e\u003csummary\u003eDónde `/dev/ttyUSB0` es el puerto donde se conecta el ESP32.\u003c/summary\u003e\n\n```shell\nls /dev/tty* | grep -E 'USB|ACM|AMA'\n```\n\u003c/details\u003e\n\nLa terminal debería mostrar algo como esto:\n\n![](img/out1.svg)\n\n#### 11. Verficar el tópico\n\n```shell\nros2 node list\n```\n\ndebería mostrar el nodo `micro_ros_arduino_node` (linea **55** del ejemplo).\n\n```shell\nros2 topic list\n```\n\ndebería mostrar el tópico `/micro_ros_arduino_node_publisher` (linea **62** del ejemplo).\n\n#### 12. Escuchar el tópico\n```shell\nros2 topic echo /micro_ros_arduino_node_publisher\n```\n\nmostrará los mensajes que envía el ESP32.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnksharp%2Fubuntu-recommendations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadnksharp%2Fubuntu-recommendations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadnksharp%2Fubuntu-recommendations/lists"}