GithubHelp home page GithubHelp logo

vss2sn / tello Goto Github PK

View Code? Open in Web Editor NEW
20.0 2.0 5.0 5.97 MB

A C++ library for the Tello and Tello Edu. Features joystick control, command line control, command queues and SLAM.

Home Page: https://vss2sn.github.io/tello/

CMake 12.99% C++ 70.78% Shell 7.51% Makefile 0.54% Python 8.18%
tello cpp joystick noros autonomous-quadcoptor queue-commands slam openvslam tellodrone telloedu

tello's People

Contributors

vss2sn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tello's Issues

How to record video?

After enabling recording in cmakelists, no video seems to be being recorded - I only see an empty mo4 being created. #streamon and #streamoff commands are also being sent. So how can I record video?

Can't run the program

After compiling the code, I tried to run using ./tello but I got this error:
image

my cmake options: cmake -DRUN_SLAM=ON -DUSE_CMAKE_NOT_SCRIPT=ON -DUSE_JOYSTICK=OFF -DUSE_TERMINAL=ON

make -j4 error

$ make -j4
Scanning dependencies of target joystick
Scanning dependencies of target utils
Scanning dependencies of target h264decoder
[ 6%] Building CXX object CMakeFiles/joystick.dir/lib_joystick/joystick.cpp.o
[ 20%] Building CXX object CMakeFiles/h264decoder.dir/lib_h264decoder/h264decoder.cpp.o
[ 20%] Building CXX object CMakeFiles/utils.dir/lib_utils/utils.cpp.o
[ 26%] Linking CXX shared library libh264decoder.so
[ 33%] Linking CXX shared library libutils.so
[ 33%] Built target utils
[ 33%] Built target h264decoder
[ 40%] Linking CXX shared library libjoystick.so
[ 40%] Built target joystick
Scanning dependencies of target tello
[ 66%] Building CXX object CMakeFiles/tello.dir/main/main.cpp.o
[ 66%] Building CXX object CMakeFiles/tello.dir/src/state_socket.cpp.o
[ 66%] Building CXX object CMakeFiles/tello.dir/src/base_socket.cpp.o
[ 66%] Building CXX object CMakeFiles/tello.dir/src/tello.cpp.o
In file included from /home/raclab/Documents/tello/inc/tello.hpp:7:0,
from /home/raclab/Documents/tello/main/main.cpp:5:
/home/raclab/Documents/tello/inc/video_socket.hpp:97:29: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’
std::atomic snap_ = false;
^
In file included from /home/raclab/Documents/tello/inc/tello.hpp:7:0,
from /home/raclab/Documents/tello/src/tello.cpp:3:
/home/raclab/Documents/tello/inc/video_socket.hpp:97:29: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’
std::atomic snap_ = false;
^
In file included from /usr/include/asio/detail/atomic_count.hpp:23:0,
from /usr/include/asio/detail/task_io_service.hpp:24,
from /usr/include/asio/impl/io_service.hpp:69,
from /usr/include/asio/io_service.hpp:765,
from /usr/include/asio/basic_io_object.hpp:19,
from /usr/include/asio/basic_socket.hpp:20,
from /usr/include/asio/basic_datagram_socket.hpp:20,
from /usr/include/asio.hpp:19,
from /home/raclab/Documents/tello/inc/base_socket.hpp:5,
from /home/raclab/Documents/tello/inc/command_socket.hpp:10,
from /home/raclab/Documents/tello/inc/tello.hpp:6,
from /home/raclab/Documents/tello/src/tello.cpp:3:
/usr/include/c++/5/atomic:66:5: note: declared here
atomic(const atomic&) = delete;
^
In file included from /usr/include/asio/detail/atomic_count.hpp:23:0,
from /usr/include/asio/detail/task_io_service.hpp:24,
from /usr/include/asio/impl/io_service.hpp:69,
from /usr/include/asio/io_service.hpp:765,
from /usr/include/asio/basic_io_object.hpp:19,
from /usr/include/asio/basic_socket.hpp:20,
from /usr/include/asio/basic_datagram_socket.hpp:20,
from /usr/include/asio.hpp:19,
from /home/raclab/Documents/tello/inc/base_socket.hpp:5,
from /home/raclab/Documents/tello/inc/command_socket.hpp:10,
from /home/raclab/Documents/tello/inc/tello.hpp:6,
from /home/raclab/Documents/tello/main/main.cpp:5:
/usr/include/c++/5/atomic:66:5: note: declared here
atomic(const atomic&) = delete;
^
/usr/include/c++/5/atomic:70:15: note: after user-defined conversion: constexpr std::atomic::atomic(bool)
constexpr atomic(bool __i) noexcept : _M_base(__i) { }
^
/usr/include/c++/5/atomic:70:15: note: after user-defined conversion: constexpr std::atomic::atomic(bool)
constexpr atomic(bool __i) noexcept : _M_base(__i) { }
^
CMakeFiles/tello.dir/build.make:62: recipe for target 'CMakeFiles/tello.dir/main/main.cpp.o' failed
make[2]: *** [CMakeFiles/tello.dir/main/main.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/tello.dir/build.make:110: recipe for target 'CMakeFiles/tello.dir/src/tello.cpp.o' failed
make[2]: *** [CMakeFiles/tello.dir/src/tello.cpp.o] Error 1
CMakeFiles/Makefile2:180: recipe for target 'CMakeFiles/tello.dir/all' failed
make[1]: *** [CMakeFiles/tello.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

I got above error when make -j4. Why?

./tello error

after "make -j4", I wrote to terminal "./tello" but I got the following error
./tello: symbol lookup error: ./tello: undefined symbol: _ZTIN9utils_log11LogDetailedE

I did not understand what it is the problem

Problems when decoding the video from Tello

Hi, excuse me for bothering you, i have a probelm when i decode the video stream and the info is as followed, looking forward to your response! Thank you in advance.
info:
[h264 @ 0x22a1740] non-existing PPS 0 referenced
[h264 @ 0x22a1740] decode_slice_header error
[h264 @ 0x22a1740] no frame!
[2020-09-27 | 20:19:41 | Error--] Error in decoding frame |video_socket.cpp:168|

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.