I ran ./setup-dev-env.sh to setting up a new roscube and got the following error.
TASK [ros2 : rosdep install] ***************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "rosdep install -y --ignore-src --from-paths src --rosdistro humble --skip-keys \"libopencv-dev libopencv-contrib-dev libopencv-imgproc-dev python-opencv python3-opencv\"", "delta": "0:00:13.080717", "end": "2024-03-22 14:16:21.890241", "msg": "non-zero return code", "rc": 1, "start": "2024-03-22 14:16:08.809524",
"stderr": "ERROR: the following packages/stacks could not have their rosdep keys resolved\nto system dependencies:\ndiagnostic_aggregator: No definition of [launch_pytest] for OS version [bionic]", "stderr_lines": ["ERROR: the following packages/stacks could not have their rosdep keys resolved", "to system dependencies:", "diagnostic_aggregator: No definition of [launch_pytest] for OS version [bionic]"], "stdout": "", "stdout_lines": []}
To fix this, I added launch_pytest to rosinstall argument to fix build errors in ros2.
Environment
Ubuntu 18.04 ADLINK RQX-58G (L4T R32.6.1) R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64, DATE: Mon Jul 26 19:36:31 UTC 2021
Description
I ran
./setup-dev-env.sh
to setting up a new roscube and got the following error.To fix this, I added
launch_pytest
to rosinstall argument to fix build errors in ros2.Tests performed
Build was succesful in my environment.
Effects on system behavior
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.
…ros2
Note: Confirm the contribution guidelines before submitting a pull request.
Click the
Preview
tab and select a PR template:Do NOT send a PR with this description.