micro-ROS / micro-ROS/micro_ros_setup
micro_ros_agent installation issue on ROS 2 Humble Ubuntu 22.04
- Langage dominant
- Shell
- Étoiles
- 509
- Forks
- 183
- Merge moyen
- 22 h 26 min
- PR mergées (30 j)
- 7
Description
## Issue template
- Hardware description: PC, Ubuntu 22.04
- RTOS: Ardupilot SITL
- Installation type: micro_ros_setup
- Version or commit hash: humble
#### Steps to reproduce the issue
Follow [First micro-ROS Application on Linux](https://micro.ros.org/docs/tutorials/core/first_application_linux/). When creating and building the micro-ROS agent
```
ros2 run micro_ros_setup create_agent_ws.sh
ros2 run micro_ros_setup build_agent.sh
```
I run into the following error:
```
stderr: micro_ros_agent
CMake Error at /opt/ros/humble/share/fastrtps/cmake/fastrtps-dynamic-targets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.
Targets Defined: eProsima_atomic
Targets not yet defined: fastrtps
Call Stack (most recent call first):
/opt/ros/humble/share/fastrtps/cmake/fastrtps-config.cmake:60 (include)
CMakeLists.txt:37 (find_package)
```
#### Expected behavior
micro-ROS agent installation works as expected and I can use it for working with Ardupilot.
#### Actual behavior
```
stderr: micro_ros_agent
CMake Error at /opt/ros/humble/share/fastrtps/cmake/fastrtps-dynamic-targets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.
Targets Defined: eProsima_atomic
Targets not yet defined: fastrtps
Call Stack (most recent call first):
/opt/ros/humble/share/fastrtps/cmake/fastrtps-config.cmake:60 (include)
CMakeLists.txt:37 (find_package)
```
#### Additional information
Installing Fast-DDS from source didn't fix the issue for me either
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Reproduisez l’échec avec create_agent_ws.sh et build_agent.sh sur Ubuntu 22.04 avec ROS 2 Humble. Inspectez CMakeLists.txt au niveau de l’appel à find_package ainsi que la configuration CMake de fastrtps référencée, en utilisant les définitions de cibles signalées comme point de départ. Le travail est terminé lorsque l’espace de travail de l’agent micro-ROS se construit correctement et que l’agent peut être exécuté.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cmake, linux, shell, ubuntu
- Domaine
- build-system
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 38/100