Navigation code for tello edu drone using visual odometry and the AR Toolkit
- Clone this repo and open a terminal in the repo directory.
- conda create -n tello
- conda activate tello
- conda install pip
- pip install -r requirements.txt
- sudo apt install libswscale-dev libavcodec-dev libavutil-dev
- cd h264decoder
- pip install .
- source /opt/ros/melodic/setup.bash
- mkdir -p ~/catkin_ws/src
- cd ~/catkin_ws/
- catkin_make
- cd src
- git clone https://github.com/ar-tools/ar_tools
- git clone https://github.com/ros-drivers/camera_umd
- git clone https://github.com/ros-perception/camera_info_manager_py
- sudo apt-get install libv4l-dev
- sudo ln -s /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h
- cd ..
- catkin_make
- wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh
- bash Anaconda3-2021.11-Linux-x86_64.sh
- rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.025 image:=/camera/image_raw
- roslaunch ar_pose ar_pose_multi_tello.launch
- python visual_navigation_v3.py