0
0

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 3 years have passed since last update.

DJI TelloでOMPLを用いた自律飛行ドローンのナビゲーション - 6.3. ARdroneのシミュレーターをGazeboで動かす

Last updated at Posted at 2020-01-17

DJI Tello等ドローンの自律飛行を実現するには、3D環境でナビゲーション経路を計画としてOMPL(Open Motion Planning Library)を試してみます。

目次

  1. OMPLのインストール
  2. OMPLの基礎
  3. OMPL.appの入門
  4. OMPLの使用
  5. DJI Telloの使用
    1. DJI Telloのフロントカメラのcamera_calibration
    2. Visual SLAM ORB_SLAM2 用のカメラキャリブレーションYamlファイルの作成
    3. DJI Telloのカメラ でVisual-SLAMのORB-SLAM2 を動かしてみた
  6. navigationスタックの使い方
    1. Turtlebot3 NavigationをGazebo Simulationで動かしてみた
    2. Turtlebot3 Navigationでmap_fileの代わりにSLAMを使用
    3. ARdroneのシミュレーターをGazeboで動かす ← いまココ
    4. AirSimのシミュレーターを動かす
    5. octomapのインストール
    6. 単眼カメラでORB_SLAM2から3D point clouodの生成
    7. point_cloud2から3D octomapの生成
  7. OMPLで3D 経路計画
    1. 状態空間環境のセットアップ

動作環境

  • Ubuntu 18.04
  • ROS Melodic
  • Tello EDU

ARdroneのシミュレーターをGazeboで動かす

ドライバのインストール(ardrone_autonomy)

sudo apt install g++-5
sudo apt install gcc-5
cd ~/catkin_ws/src/
git clone https://github.com/AutonomyLab/ardrone_autonomy.git
cd ../
catkin_make
[ 89%] Built target point_grid
In file included from /usr/include/c++/7/bits/char_traits.h:39:0,
                 from /usr/include/c++/7/string:40,
                 from /opt/ros/melodic/include/ros/platform.h:38,
                 from /opt/ros/melodic/include/ros/time.h:53,
                 from /opt/ros/melodic/include/ros/ros.h:38,
                 from /home/k-koh/catkin_ws/src/ardrone_autonomy/include/ardrone_autonomy/ardrone_driver.h:31,
                 from /home/k-koh/catkin_ws/src/ardrone_autonomy/include/ardrone_autonomy/ardrone_sdk.h:70,
                 from /home/k-koh/catkin_ws/src/ardrone_autonomy/include/ardrone_autonomy/video.h:28,
                 from /home/k-koh/catkin_ws/src/ardrone_autonomy/src/video.cpp:25:
/usr/include/c++/7/bits/stl_algobase.h:243:56: error: macro "min" passed 3 arguments, but takes just 2
     min(const _Tp& __a, const _Tp& __b, _Compare __comp)

コンパイルエラーになります。

Next: 6.4. AirSimのシミュレーターを動かす

Prev: 6.2. Turtlebot3 Navigationでmap_fileの代わりにSLAMを使用

0
0
4

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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?