2
3

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.

Jetson nanoにROS melodic/turtlebot3モデル/ROS arucoライブラリをインストール

2
Last updated at Posted at 2020-02-01

目的

Jetson nanoにROS melodic/turtlebot3モデル/arucoライブラリをインストールした際の備忘録です
turtlebot3モデルはGAZEBOで利用するためのモデルです。
arucoは、ARマーカー読み取りライブラリです。

準備

Jetson nano

以下、必要に応じて

もっと安いモデルがあればそちらでも可
斜線 は試すも使うのを敬遠したもの。シミュレータや機械学習するならr/w早い方が効率的

◼️Jetson nano 開発者キット スペック
スクリーンショット 2020-02-01 18.18.26.png

起動イメージは以下から入手します。
JetPack SDK--> "Download the SD Card Image"からダウンロード(2020/11/1時点だとJetPack 4.4.1が最新)
SDカードへの書き込みは、Etcherなどのソフトが便利です。

インストール

1.ROS melodicをインストール

以下を参考にさせて頂きます。

Jetson NanoにROSをインストールする方法

$ git clone https://github.com/karaage0703/jetson-nano-tools
$ cd jetson-nano-tools
$ ./install-ros-melodic.sh

2.turtlebot3ロボットモデルのインストール

$ sudo apt-get install ros-melodic-turtlebot3
$ sudo apt-get install ros-melodic-turtlebot3-msgs
$ sudo apt-get install ros-melodic-turtlebot3-simulations

3.arucoのインストール

3.1.workspace作成がまだであれば、作成します。

create_a_workspace

$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ catkin_init_workspace
$ cd ~/catkin_ws/
$ catkin_make
$ echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc
$ source ~/.bashrc
3.2.arucoのgithubリポジトリをクローンします。
$ cd ~/catkin_ws/src
$ git clone https://github.com/pal-robotics/aruco_ros
3.3.catkin makeでarucoをビルドします。
$ cd ~/catkin_ws/
$ catkin_make

--> catkin_makeが成功したらOK。(その後、rebootが必要な場合があります)

CodingError対策

$ sudo apt-get install ros-melodic-aruco-ros
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
E: パッケージ ros-kinetic-melodic-ros が見つかりません

melodic-ros packageは見つからないようなので、
arucoをビルドして解決(3.arucoのインストール 参照)

参考

Jetson NanoにROSをインストールする方法
ros turtlebot3
ros create_a_workspace
ros aruco

2
3
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
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?