rosdepをインストールする手順が変わったようです

依存関係を調べて必要に応じて追加パッケージをインストールしてくれるツールであるrosdepは、今後はpython-rosdepaptで手動でインストールする必要があるようです。

ROS Wikiのインストール方法を紹介するページも更新され、「If you have not yet installed rosdep, do so as follows.」とデフォルトではインストールされていない前提で説明が書かれています。

目次

経緯

今まではROSインストール時(ros-melodic-desktop-fullros-melodic-ros-baseなどをインストールするとき)にそのほかのROS関連パッケージと一緒にインストールされており、ROS Wikiのインストール方法を紹介するページでもrosdepの初期設定をするように紹介されていました。

しかし、2020年3月22日の段階でROS Melodicのインストール時にrosdepがインストールされないことが確認されており[1] CIのログはこちらです。 https://github.com/Tiryoh/ros_setup_scripts_ubuntu/runs/524821538?check_suite_focus=true 、以下のGitHubのissueにエラーの詳細を書いていました。

どうやらいままでpython-rosdepを必要としていたros-melodic-rospackが、python-rosdep-modulesのみを必要とするように変わったようです[2]関連するPull Requestはこちらです。 https://github.com/ros/rospack/pull/109
詳細については以下のリンク先に書いています。

GitHub
`python-rosdep` is not installed on Ubuntu 18.04 · Issue #1 · Tiryoh/ros_setup_scripts_ubuntu python-rosdep is not installed by apt install ros-melodic-ros-base or apt install ros-melodic-desktop-full. logs: https://github.com/Tiryoh/ros_setup_scripts_ub...

ROS Wikiに書かれている内容に従ってもROSのインストール自体ができなくなってしまうので、放置するわけにも行かないと思い、ROS Answersで質問していましたが、特に回答は得られませんでした。

あわせて読みたい
Installing python-rosdep manually is required to follow the official instruction on Ubuntu 18.04? - ... According to this change (https://github.com/ros-infrastructure...), it seems like python-rosdep is not required by ros-melodic-rospack and not installed by jus...

しばらくして以下のGitHubのissueが立てられていることに気がつき、詳細を書き込んでみたところ、メンテナの人も何かしらの修正が必要だと気づいたようで、対応してもらえました[3] https://twitter.com/Tiryoh/status/1242630890125029376

GitHub
'rosdep' package installation no longer automatic on Melodic · Issue #745 · ros-infrastructure/rosde... We have a ROS install script that is essentially the same as the official instructions. Our script randomly started failing CI in the past week or two with the ...

rosdepはワークスペースを管理するためのツールで、ROS本体のパッケージ自体と一緒にする必要はないよね、ということらしいです。

GitHub
'rosdep' package installation no longer automatic on Melodic · Issue #745 · ros-infrastructure/rosde... We have a ROS install script that is essentially the same as the official instructions. Our script randomly started failing CI in the past week or two with the ...

ROS Wikiのインストール方法を紹介するページの更新内容については以下のリンクから確認できます。

この記事が気に入ったら
フォローしてね!

よかったらシェアしていただけると励みになります!
  • URLをコピーしました!
  • URLをコピーしました!

この記事を書いた人

Memotekiの管理人です。このブログには学んだことや共有しておきたいことをマイペースにメモしていきます。2020年からは日記も書き始めました。

コメント

コメントする


The reCAPTCHA verification period has expired. Please reload the page.

目次