Giter Club home page Giter Club logo

tello-driver-ros's Introduction

Tello ROS driver

ROS driver used in the course DTEK0081 Perception and Navigation in Robotics

Installation

We will use by default the same workspace as for the drone-racing repo: https://github.com/TIERS/drone-racing.

If you don't have it, create the workspace and clone this repo

mkdir -p  ~/drone_racing_ws/src && cd ~/drone_racing_ws/src
git clone --recursive https://github.com/TIERS/tello-driver-ros.git

Install dependencies

sudo apt install ros-melodic-camera-info-manager-py ros-melodic-codec-image-transport python-catkin-tools python3-dev python3-pip python-dev python-pip
sudo -H pip3 install --upgrade pip
sudo -H pip3 install https://github.com/damiafuentes/DJITelloPy/archive/master.zip

And build it

cd ~/drone_racing_ws
catkin init
catkin build

Launch for Tello with its own Wi-Fi AP

  • Turn on Tello drone
  • Connect to drone's WiFi access point (TELLO_XXXXXX)

Then launch the driver

source ~/drone_racing_ws/devel/setup.bash
roslaunch tello_driver tello_node.launch tello_ip:="192.168.10.1"

You can control it with the teleop_twist_keyboard node. Install it with

sudo apt install ros-melodic-teleop-twist-keyboard

and run it

rosrun teleop_twist_keyboard teleop_twist_keyboard.py cmd_vel:=/tello/cmd_vel

Launch for Tello Edo connected to same Wi-Fi network

  • Turn on Tello EDU drone
  • Check IP (for the course, they are written on top of the drone)

Then launch the driver modifying the IP

source ~/drone_racing_ws/devel/setup.bash
roslaunch tello_driver tello_node.launch tello_ip:="192.168.XXX.XXX"

ROS Nodes

Subscribed topics

Published topics

Parameters

  • ~/tello_driver_node/connect_timeout_sec
  • ~/tello_driver_node/fixed_video_rate
  • ~/tello_driver_node/local_cmd_client_port
  • ~/tello_driver_node/local_vid_server_port
  • ~/tello_driver_node/stream_h264_video
  • ~/tello_driver_node/tello_cmd_server_port
  • ~/tello_driver_node/tello_ip
  • ~/tello_driver_node/vel_cmd_scale
  • ~/tello_driver_node/video_req_sps_hz
  • ~/tello_driver_node/altitude_limit
  • ~/tello_driver_node/attitude_limit
  • ~/tello_driver_node/low_bat_threshold

Contact

For any questions, write to [email protected].

Visit us at https://tiers.utu.fi

tello-driver-ros's People

Contributors

jordy-van-appeven avatar jopequ avatar anqixu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.