Code Monkey home page Code Monkey logo

Comments (5)

andythecoderman avatar andythecoderman commented on June 6, 2024

Can you share your full code sample? Maybe the duration is too short. I'm just getting started with the ar drone, only animation I've tried was blinking the LED's

from node-ar-drone.

rmehner avatar rmehner commented on June 6, 2024

Also check for battery levels. The drone won't do flips if the level is too low.

from node-ar-drone.

dannyreilly avatar dannyreilly commented on June 6, 2024

yea, tried batteries. I'm running from terminal on a Macbook Pro. I have node.js installed and node-ar-drone. Managed to control the basic movement of copter with the code but when i do animate or animateLeds it reports undefined. I have copied the code I am trying to execute below with some samples of what works and what doesn't. If I save the code as a .js and execute, it executes the movements but ignores the animations.

Do I need to do something with the Parrot SDK for these to work???

DanMacbookPro:~ dan$ cd node_modules
DanMacbookPro:node_modules dan$ cd ar-drone
DanMacbookPro:ar-drone dan$ node repl.js
drone> front(0.5)
0.5
drone> clockwise(0.5)
0.5
drone> animate('flipLeft', 15)
undefined
drone> animate('turnaround', 1500)
undefined
drone> animate('yawDance', 3000)
undefined
drone> animateLeds('blinkGreen', 5, 5)
undefined
drone>

from node-ar-drone.

felixge avatar felixge commented on June 6, 2024

Your code looks ok. undefined is the expected return value. The Parrot SDK is not a dependency.

Are you using an AR Drone 1 by any chance? They don't support the flips & stuf

from node-ar-drone.

andrew avatar andrew commented on June 6, 2024

Closing this as it's been nearly a year since it was reported.

from node-ar-drone.

Related Issues (20)

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.