Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

aTello (Android) Development Thread

Krag

Well-known member
Joined
Mar 22, 2018
Messages
252
Reaction score
201
About aTello
aTello is an alternative to the stock Tello android app.

Installing the APK.

How to Install APK Files on Android: 12 Steps (with Pictures)

Instructions




  1. Network status area. This bar will be RED if not connected to the Tello network. Tap to connect in that case.
  2. Takeoff/Land button
  3. Throw takeoff button
  4. Take picture button. Hold to switch to aspect ratio to 16x9. (not fully working yet)
  5. Show pictures. Not fully working.
  6. Settings. Joystick config and Jpeg quality.
  7. Joystick axis status (for debugging)
  8. Aircraft status area.

Joystick is currently supported for generic Android Bluetooth/OTG controllers and PS3 style controllers. Joystick type is selected in the settings page. If your joystick doesn't work First check to make sure it works on other Android apps. If it does then post an issue including your controller brand.


These are the button mappings on the controller for takeoff, land, take picture and speed mode.





Start (Hold) = Takeoff/Land.
Select (Hold) = Land.
R1 = Take Picture.
R2 = Speed mode.
L1 = Record.
R2+DPad = Flip

Features
<todo>

Todo
<todo>

Downloads
aTello download page

Release Notes

Version 0.96
Summary; This version should fix the problems when switching between pic and camera modes. It also includes a simple Return To Home function.

Return To Home:

There is a new Return to Home button in the UI and on the Joystick (Home button on PS3 and A button on Generic). Only works in environments with plenty of light. Use with caution.
  • Single tap will cancel autopilot.
  • Double tap will set home.
  • Long press will return to home.
  • Home or A button on the joystick works the same way (single, double and long).
  • It uses voice prompts to tell you the state of the autopilot. Turn up your volume.
  • An initial home point should be set as soon as the drone can see the ground well enough to pick up a fix.
  • The home point is only 2d so you need to take care of the height.
  • Moving the right stick will cancel autopilot.
  • It isn't always accurate and sometimes has trouble with swirling around the target. Especially in wind.
Version 0.95
Summary; This is the most stable version yet. I changed how connections are handled and there should be no more disconnects when the app pauses or goes into a menu screen.


Version 0.93
Summary; There are some important bug fixes in this version to make it a bit safer. But video is still not working right.

Notes
Video mode is still not working right. Basically switching video/picture modes messes things up and will eventually crash the app. Until I figure out why I recommend flying in picture mode. If do you want video mode I suggest you flip to it when you first connect and then leave it in that mode until you can rerun the app. If it works at the start it should be stable until you try to switch back to pic mode.

It seems to me I used to be able to task switch out of the aTello without disconnecting. But now I can't. From reading the docs it appears that the correct behavior is to loose connection and if it was working before it was a fluke. To fix that I need to rewrite a core part of the app as a service. That isn't simple and I expect will take some time.

Changes
  • When the app is paused or looses focus (like going into settings) it should zero the joysticks to keep the drone from flying in the last direction. Still be very careful. NOTE. If your joystick becomes disconnected it can still take several seconds for Android to realize it and for the sticks to zero. Make sure your joystick doesn't come unplugged when maneuvering. It happened to me once.
  • Moved the status bar to the top of the screen to make it easier to see when using the onscreen joysticks.
  • The VS indicator will now be green if in normal mode or red if in speed mode.
  • Added a Speed Mode lock. Press and hold the VS indicator in the status bar and it will turn red.
  • Prevent the settings screen from switching to portrait.
  • Prevent video conversion while flying.
  • Moved the video/picture mode switch to Holding the onscreen Record button instead of Picture. It makes more sense and allows for exposure bracketing on the picture button (HB is not working yet). I don't recommend using this button yet. See above.
 
Last edited:
About aTello
aTello is an alternative to the stock Tello android app.
<todo>

Features
<todo>

Todo
<todo>

Downloads
aTello download page

Release Notes

Version 0.93
Summary; There are some important bug fixes in this version to make it a bit safer. But video is still not working right.

...........

Sorry, but I can't find the 0.93 version in the repository ... My mistake ???
 
About aTello
aTello is an alternative to the stock Tello android app.
<todo>

Features
<todo>

Todo
<todo>

Downloads
aTello download page

Release Notes

Version 0.93
Summary; There are some important bug fixes in this version to make it a bit safer. But video is still not working right.

Notes
Video mode is still not working right. Basically switching video/picture modes messes things up and will eventually crash the app. Until I figure out why I recommend flying in picture mode. If do you want video mode I suggest you flip to it when you first connect and then leave it in that mode until you can rerun the app. If it works at the start it should be stable until you try to switch back to pic mode.

It seems to me I used to be able to task switch out of the aTello without disconnecting. But now I can't. From reading the docs it appears that the correct behavior is to loose connection and if it was working before it was a fluke. To fix that I need to rewrite a core part of the app as a service. That isn't simple and I expect will take some time.

Changes
  • When the app is paused or looses focus (like going into settings) it should zero the joysticks to keep the drone from flying in the last direction. Still be very careful. NOTE. If your joystick becomes disconnected it can still take several seconds for Android to realize it and for the sticks to zero. Make sure your joystick doesn't come unplugged when maneuvering. It happened to me once.
  • Moved the status bar to the top of the screen to make it easier to see when using the onscreen joysticks.
  • The VS indicator will now be green if in normal mode or red if in speed mode.
  • Added a Speed Mode lock. Press and hold the VS indicator in the status bar and it will turn red.
  • Prevent the settings screen from switching to portrait.
  • Prevent video conversion while flying.
  • Moved the video/picture mode switch to Holding the onscreen Record button instead of Picture. It makes more sense and allows for exposure bracketing on the picture button (HB is not working yet). I don't recommend using this button yet. See above.

Hello Krag,
I do appreciate your app. Do you think is it possible to add commands like: forward(distance cm), back(distance cm), left(distance cm), right(distance cm), rotate(+/- angle deg)?
 
Hello Krag,
I do appreciate your app. Do you think is it possible to add commands like: forward(distance cm), back(distance cm), left(distance cm), right(distance cm), rotate(+/- angle deg)?
I don't see how that would work with this kind of app where the point is to fly yourself. Its more appropriate for a desktop control app.
 
  • Like
Reactions: qaab
I bought the Gamesir T1s to use an OTG cable with the aTello app. According to a poster here, it is supposed to work but I could never get it to connect to your app. The tablet recognizes the controller and the GamepadTest app recognizes the controller and any stick movement or button press. So, could someone please tell me how to get the app to recognize the T1s controller via OTG cable? I also tried the bluetooth connection with the original app and it now recognizes the T1s controller but I bought this controller to connect wired via OTG.
 
I bought the Gamesir T1s to use an OTG cable with the aTello app. According to a poster here, it is supposed to work but I could never get it to connect to your app. The tablet recognizes the controller and the GamepadTest app recognizes the controller and any stick movement or button press. So, could someone please tell me how to get the app to recognize the T1s controller via OTG cable? I also tried the bluetooth connection with the original app and it now recognizes the T1s controller but I bought this controller to connect wired via OTG.
Hello, it is working for me. Have you put off the bluetooth on your tab ? have you selected generic joystick in the aTello preferences ?
 
Bluetooth was off and generic joystick is actually the default. I can see at the bottom when the app is running that the joystick movements are recognized but nothing on the screen in the app works either. I press the icon to take off and nothing happens.
 
Bluetooth was off and generic joystick is actually the default. I can see at the bottom when the app is running that the joystick movements are recognized but nothing on the screen in the app works either. I press the icon to take off and nothing happens.
When you did that test, was the Tello battery full loaded ? The application aTello doesn't display message when battery is unloaded and when there is not enough power to take off... (i had the same case).
@Krag : display alert when the tello battery is unload could be a good evolution suggestion :)
 
Last edited:
  • Like
Reactions: wizOfWas
When you did that test, was the Tello battery full loaded ? The application aTello doesn't display message when battery is unloaded and then nothing works like you describe... (i had the same case).
@Krag : display alert when the tello battery is unload could be a good evolution suggestion :)
The battery was at 100% and installed in the Tello.
 
I don't see how that would work with this kind of app where the point is to fly yourself. Its more appropriate for a desktop control app.

Sorry Krag... Maybe I post the question in the wrong section of the forum. My intention was to use your TelloLib to develop a desktop application for my own needs and I think it could be useful to have those kind of commands (or at least read IMU (gyro + axl) state in order to read angular rate and acceleration)
 
The controller worked with the app last night and I'm not sure why - I think it's possible bluetooth had turned on before without me knowing it. I'll have to test more. But, pressing the Start using my Nvidia Shield K1 tablet starts a game controller app on the tablet. L1 does start video recording and I didn't try the other buttons.
 
I tried it again and it would not work. I'm sending the T1s controller back. It won't work with any games either.
 

New Posts

Members online

No members online now.

Forum statistics

Threads
5,760
Messages
40,279
Members
17,408
Latest member
hengtoo

New Posts