ipa320 / ros-model-extractors

3 stars 8 forks source link

BUG Rosdep update is not being called, so no package installation is performed #34

Open miferco97 opened 6 months ago

miferco97 commented 6 months ago

Description When trying to extract the model of a package with non basic dependencies the colcon build fails due to the lack of dependencies installed.

Background

(Additional background or context information needed to understand the problem.)

Steps to reproduce:

  1. run $ docker run -it haros_humble:latest /haros_runner.sh as2_platform_gazebo --all node . /home/extractor/ws "https://github.com/aerostack2/aerostack2"

Expected behaviour:

The script should be able to generate the models

Actual behaviour:

The docker fails in the colcon build step

Additional details:

Additionally the colcon build compiles all the packages in the repo, although you only need some for extracting the model you have indicated, a --packages-up-to $1 could be added in the haros_runner.sh script to increase the speed of the process when working with big repos.