7
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Raspberry Pi 2+Ubuntu 14.04+ROSでEV3動かしてみた

Last updated at Posted at 2015-11-26

ROSでレゴマインドストームEV3を動かしてみた - QiitaをVirtualBoxからではなくてRaspberry Pi 2からやってみてできたので手順をメモしておく。
事前にRaspberry Pi 2にUbuntu 14.04を入れてみたの手順でRaspberry Pi設定済み。

やってみた手順

基本的にROSでレゴマインドストームEV3を動かしてみた - Qiitaの通り。
上記の手順とは違うことをしたところを以下に書いておく。

ROSインストール

システムをアップデートとROSのインストールの手順でros-indigo-desktop-fullがなぜか入らなかったのでros-indigo-ros-baseを入れた。

$ sudo apt-get install ros-indigo-desktop-full
()
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ros-indigo-desktop-full : Depends: ros-indigo-simulators but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install ros-indigo-simulators  
()
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ros-indigo-simulators : Depends: ros-indigo-gazebo-ros-pkgs but it is not installable
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install ros-indigo-gazebo-ros-pkgs
()
Package ros-indigo-gazebo-ros-pkgs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'ros-indigo-gazebo-ros-pkgs' has no installation candidate

ros-indigo-navigationインストール

VM側でmindstorms_ros環境構築の手順でapt-get install ros-indigo-navigationで失敗するが、「Raspberry Pi 2にUbuntu 14.04を入れてみた」の「libegl1-mesa-devやlibgles2-mesa-devのインストールが失敗する場合」の手順で対応出来る。

mindstorms_ros環境構築構築

VM側でmindstorms_ros環境構築の手順でcatkin_makeした際にros-indigo-desktop-fullを入れていないせいか幾つかパッケージが不足してエラーとなったので、都度apt-get installで対応パッケージをインストールした。
たしか以下のパッケージ(抜け漏れあるかも)

  • ros-indigo-nao-description
  • ros-indigo-orocos-kdl
  • ros-indigo-robot-state-publisher
  • ros-indigo-tf-conversions
7
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?