Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctello state #7

Open
AnaRhisT94 opened this issue Oct 21, 2021 · 8 comments
Open

Ctello state #7

AnaRhisT94 opened this issue Oct 21, 2021 · 8 comments
Assignees

Comments

@AnaRhisT94
Copy link

Not getting tello's state,
I'm just getting the following messages and that's it:
image

@carlospzlz
Copy link
Owner

Could you enable debug logging?

env SPDLOG_LEVEL=debug ./ctello_state

@carlospzlz
Copy link
Owner

carlospzlz commented Oct 28, 2021

Hi @AnaRhisT94, any luck with this?

@AnaRhisT94
Copy link
Author

When running the quick-starter guide I'm getting:

[10/30/21 13:20:34] [ctello] [info] Finding Tello ...
[10/30/21 13:20:34] [ctello] [debug] 127.0.0.1:9000 >>>> 7 bytes >>>> 192.168.10.1:8889: command
[10/30/21 13:20:35] [ctello] [debug] 127.0.0.1:9000 <<<< 2 bytes <<<< 192.168.10.1:8889: ok
[10/30/21 13:20:35] [ctello] [info] Entered SDK mode
[10/30/21 13:20:35] [ctello] [debug] 127.0.0.1:9000 >>>> 3 bytes >>>> 192.168.10.1:8889: sn?
[10/30/21 13:20:35] [ctello] [debug] 127.0.0.1:9000 <<<< 20 bytes <<<< 192.168.10.1:8889: unknown command: sn?
[10/30/21 13:20:35] [ctello] [info] Serial Number: unknown command: sn?
[10/30/21 13:20:35] [ctello] [debug] 127.0.0.1:9000 >>>> 4 bytes >>>> 192.168.10.1:8889: sdk?
[10/30/21 13:20:35] [ctello] [debug] 127.0.0.1:9000 <<<< 21 bytes <<<< 192.168.10.1:8889: unknown command: sdk?
[10/30/21 13:20:35] [ctello] [info] Tello SDK:     unknown command: sdk?
[10/30/21 13:20:35] [ctello] [debug] 127.0.0.1:9000 >>>> 5 bytes >>>> 192.168.10.1:8889: wifi?
[10/30/21 13:20:35] [ctello] [debug] 127.0.0.1:9000 <<<< 4 bytes <<<< 192.168.10.1:8889: 90
[10/30/21 13:20:35] [ctello] [info] Wi-Fi Signal:  90
[10/30/21 13:20:35] [ctello] [debug] 127.0.0.1:9000 >>>> 8 bytes >>>> 192.168.10.1:8889: battery?
[10/30/21 13:20:35] [ctello] [debug] 127.0.0.1:9000 <<<< 4 bytes <<<< 192.168.10.1:8889: 79
[10/30/21 13:20:35] [ctello] [info] Battery:       79
[10/30/21 13:20:35] [ctello] [debug] 127.0.0.1:9000 >>>> 7 bytes >>>> 192.168.10.1:8889: takeoff
[10/30/21 13:20:41] [ctello] [debug] 127.0.0.1:9000 <<<< 2 bytes <<<< 192.168.10.1:8889: ok
[10/30/21 13:20:41] [ctello] [debug] 127.0.0.1:9000 >>>> 6 bytes >>>> 192.168.10.1:8889: flip b
[10/30/21 13:20:45] [ctello] [debug] 127.0.0.1:9000 <<<< 2 bytes <<<< 192.168.10.1:8889: ok
[10/30/21 13:20:45] [ctello] [debug] 127.0.0.1:9000 >>>> 4 bytes >>>> 192.168.10.1:8889: land
[10/30/21 13:20:49] [ctello] [debug] 127.0.0.1:9000 <<<< 2 bytes <<<< 192.168.10.1:8889: ok

And the drone flies and flips, but I'm interested in getting the state of the drone (acceleration, barometer, etc..)

@carlospzlz
Copy link
Owner

carlospzlz commented Nov 1, 2021

That's quite strange, it seems that some of the commands are not supported. Do you know what's your firmware's version?
Could you try updating it?

@lev-droid
Copy link

I get the same issue using the latest firmware. I also do not get any opencv window appearing when I use ctello-stream, but I suspect that has something to do with my usage of the wsl.

@queharris
Copy link

Any luck with this by any chance?

@carlospzlz
Copy link
Owner

I'll have a look at this soon.

@carlospzlz carlospzlz self-assigned this Aug 5, 2022
@carlospzlz
Copy link
Owner

I've just done some testing and investigation for this.


Tello EDU model (SDK 2.0 - firmware 2.05.01.17)

This was the Tello that this project was originally developped and tested for

  • Both commands sn? and sdk? seem to work fine
  • ctello-state seems to work fine

Original Tello model (SDK 1.3 - firmware 1.04.91.01)

  • sn? and sdk? are unknown commands
  • However, ctello-state seems to work fine (slightly different fields in the state)

Tello Talent model (SDK 3.0)

Not tested


Here you can find the manuals for all the different versions of the SDKs:

Does this help?

If you are finding any issues that don't align with what cited here, could you confirm what model of the aircraft you have and firmware version you are running with, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants