node-ar-drone | js client for controlling Parrot AR Drone | Continous Integration library

 by   felixge JavaScript Version: v0.3.3 License: MIT

kandi X-RAY | node-ar-drone Summary

kandi X-RAY | node-ar-drone Summary

node-ar-drone is a JavaScript library typically used in Devops, Continous Integration applications. node-ar-drone has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can install using 'npm i ar-drone-browserified' or download it from GitHub, npm.

The AR Drone is an affordable, yet surprisingly capable quadcopter. The drone itself runs a proprietary firmware that can be controlled via WiFi using the official FreeFlight mobile app (available for iOS and Android). Unlike the firmware, the client protocol is open, and Parrot publishes an SDK (signup required to download) including a good amount of documentation and C code. Their target audience seems to be mobile developers who can use this SDK to create games and other apps for people to have more fun with their drones. However, the protocol can also be used to receive video and sensor data, enabling developers to write autonomous programs for the upcoming robot revolution.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              node-ar-drone has a medium active ecosystem.
              It has 1743 star(s) with 440 fork(s). There are 150 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 36 open issues and 73 have been closed. On average issues are closed in 170 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of node-ar-drone is v0.3.3

            kandi-Quality Quality

              node-ar-drone has 0 bugs and 0 code smells.

            kandi-Security Security

              node-ar-drone has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              node-ar-drone code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              node-ar-drone is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              node-ar-drone releases are not available. You will need to build from source code and install.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed node-ar-drone and discovered the below as its top functions. This is intended to give you an instant insight into node-ar-drone implemented functionality, and help decide if they suit your requirements.
            • do the action
            • UDP constructor .
            • Controls a UdpControl control .
            • Stream encoder .
            • UDP data stream
            • A streaming video stream
            • Png stream for Png streams .
            • Create a new command .
            • Splitter constructor .
            • Parses a ReadStream .
            Get all kandi verified functions for this library.

            node-ar-drone Key Features

            No Key Features are available at this moment for node-ar-drone.

            node-ar-drone Examples and Code Snippets

            No Code Snippets are available at this moment for node-ar-drone.

            Community Discussions

            QUESTION

            How can i send the GPS data to parrot ar drone and go to my drone to gps position?
            Asked 2018-Jun-11 at 04:30

            I am using node ar drone modules. My drone is parrot ar drone 2.0 gps edition I succeeded to get parrot ar drone gps data. I'd like to send the parrot ar drone to the manipulated gps position. But I cannot send gps data to parrot ar drone.

            Is there any way to send manipulated gps data to my parrot ar drone?

            ...

            ANSWER

            Answered 2017-Apr-10 at 23:24

            There are two ways you could do this.

            First, the hard way. The protocol used by node-ar-drone to talk to the AR.Drone doesn't have any way to directly give the drone coordinates to fly to, but you could do the calculations yourself.

            1. Enable the drone's magnetometer (see https://github.com/wiseman/webflight-traffic/blob/master/index.js#L19).
            2. Calibrate the magnetometer: Command the drone to take off, then do client.calibrate(0) (see https://github.com/felixge/node-ar-drone#clientcalibratedevice_num).
            3. Get the drone's magnetic heading from navdata.magneto.heading.fusionUnwrapped.
            4. Get the drone's current coordinates from navdata.gps.latitude and navdata.gps.longitude.
            5. Compute the desired heading to get from the drone's current position to the desination. There are subtleties to this, but for most applications you can follow the procedure described in http://www.movable-type.co.uk/scripts/latlong.html:

              θ = atan2( sin Δλ ⋅ cos φ2 , cos φ1 ⋅ sin φ2 − sin φ1 ⋅ cos φ2 ⋅ cos Δλ ) where φ1,λ1 is the starting point, and φ2,λ2 is the end point (Δλ is the difference in longitude).

              Since atan2 returns values in the range -π ... +π (that is, -180° ... +180°), to normalise the result to a compass bearing (in the range 0° ... 360°, with −ve values transformed into the range 180° ... 360°), convert to degrees and then use (θ+360) % 360, where % is (floating point) modulo.

            6. Figure out if the drone needs to rotate clockwise or counter-clockwise to achieve the desired heading, and call client.clockwise or client.counterClockwise as appropriate.

            7. When the drone is facing the correct heading, tell it to move forward with client.front.

            Once the drone is headed in the right direction, every time you get new navdata, you should check the current heading, recompute the desired heading, and tell the drone to turn clockwise or counter-clockwise if needed. Once you're within some threshold (5 feet? 50 feet?) of your desired destination, tell the drone to stop with client.stop.

            Besides the protocol that node-ar-drone uses, the AR.Drone also supports the MAVLink protocol, used by many hobbyist and commercial drones. That protocol has a way to tell the drone to move directly to specific coordinates. You could use an application like QGroundControl to send the drone to a particular latitude, longitude, or you can use one of the existing MAVLink libraries to send messages to the drone to do the same thing.

            DroneKit-Python, for example, is a high-level library that lets you write code like this (taken from this example):

            Source https://stackoverflow.com/questions/42897828

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install node-ar-drone

            You can install using 'npm i ar-drone-browserified' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/felixge/node-ar-drone.git

          • CLI

            gh repo clone felixge/node-ar-drone

          • sshUrl

            git@github.com:felixge/node-ar-drone.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Continous Integration Libraries

            chinese-poetry

            by chinese-poetry

            act

            by nektos

            volkswagen

            by auchenberg

            phpdotenv

            by vlucas

            watchman

            by facebook

            Try Top Libraries by felixge

            node-style-guide

            by felixgeJavaScript

            fgprof

            by felixgeGo

            node-dateformat

            by felixgeJavaScript

            httpsnoop

            by felixgeGo

            node-memory-leak-tutorial

            by felixgeJavaScript