GithubHelp home page GithubHelp logo

yoshidrone's Introduction

YoshiDrone(朱雀)

Project code: 朱雀, drone-programming project in Asia.

History and Timeline

2018/10/29 Initial Commit

DJI/Ryze Tello Autopilot

2018/11/03 Python SDK: First Flight; Launch succeeded but error in Landing

2018/11/16 Gobot SDK: First Flight; Launch succeeded and Landing succeeded

Golang prompt

Tello autopilot

[Flight video] https://youtu.be/UKWdrdhSFF0

Concept & Feature

Experimental study for autopilot drones in Asian countries.

Especially for "extravisual long distance" autopilot,

And Autopilot through voice recognition.

Project Environment Expected

C++, English/Chinese/Japanese as the communication language if group working.

Example of drone platform: Drones of DJI-products.

English Name of Project

YoshiDrone for the project name, Zhuque/Suzaku for the project code.

Update 2018/11/03: Initial Project

Created tello autopilot sample as "drone.py" on this repository.

yoshidrone's People

Contributors

yosiyoshi avatar

Watchers

James Cloos avatar

yoshidrone's Issues

Exception occured in drone.py

https://github.com/yosiyoshi/YoshiDrone/blob/master/drone.py

DJI/Ryze Tech "Tello" remoted by this program occured an exception.

As the result, the drone program couldn't work properly.

The drone seems able to take off, but has something wrong for landing,
therefore the process may cause to stop before:
sys.exit()
in the part of:

if __name__ == '__main__':
    tap=TelloAutoPilot()
    tap.initConnection()
    tap.takeoff()
    tap.land()
    sys.exit()

Then occured:

An exception has occurred, use %tb to see the full traceback.

SystemExit

C:\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py:2870: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
  warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)

Exception-able functions are defined as below:

try:
            sent = self.sock.sendto('command'.encode(encoding="utf-8"), self.tello)
        except:
            pass
        try:
            sent = self.sock.sendto('speed 50'.encode(encoding="utf-8"), self.tello)
        except:
            pass

    def land(self):
        try:
            sent = self.sock.sendto('land'.encode(encoding="utf-8"), self.tello)
        except:
            pass

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.