DJI Tello
Introduction
DJI Tello is controlled using UDP socket communication. The DJI Tello platform package provides a bridge between Aerostack2 and DJI Tello.
Installation
For binary installation, install by running:
sudo apt install ros-humble-as2-platform-tello
For source installation, clone the platform repository into your workspace and build it. See it in Aerostack2 installation guide.
# If you have installed Aerostack2 from sources we recommend to clone the package in the src folder of your workspace otherwise you can clone it in any ROS 2 workspace you want.
cd ~/aerostack2_ws/src/aerostack2/as2_aerial_platforms
git clone git@github.com:aerostack2/as2_platform_tello.git
cd ~/aerostack2_ws
rosdep install as2_platform_tello --from-paths src --ignore-src -r -y
colcon build --packages-up-to as2_platform_tello
Aerostack2 Common Interface
For more details about platform control modes and sensors, see Aerostack2 Aerial Platform Concepts.
Control Modes
These are supported control modes:
Control Mode |
Yaw Mode |
Reference Frame |
---|---|---|
Hover |
None |
None |
Speed |
Speed |
ENU |
Sensors
These are supported sensors:
Sensor |
Topic |
Type |
---|---|---|
Odometry |
sensor_measurements/odom |
nav_msgs/Odometry |
IMU |
sensor_measurements/imu |
sensor_msgs/Imu |
Battery |
sensor_measurements/battery |
sensor_msgs/BatteryState |
Barometer |
sensor_measurements/barometer |
sensor_msgs/FluidPressure |
Camera |
sensor_measurements/camera |
sensor_msgs/Image |
Platform Launch
Example of launch command:
ros2 launch as2_platform_tello tello_platform.launch.py namespace:=drone0