Comments (5)
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.
Also check for battery levels. The drone won't do flips if the level is too low.
from node-ar-drone.
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.
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.
Closing this as it's been nearly a year since it was reported.
from node-ar-drone.
Related Issues (20)
- Vision Detect..TypeError: Cannot read property 'nbDetected' of undefined HOT 8
- pngstream stops sending new images after sometime HOT 3
- How do I access just the gps.latitude property? HOT 5
- How can i get the only navdata - magneto data ?
- How to add delay to navdata read, and make real time graph? HOT 4
- is bebop 2 supported
- Can I disable the ultrasonic sensor? HOT 1
- use gps to make a path HOT 1
- drones to fly using the google maps
- Multiple clients - multiple drones communicate through nodejs server HOT 2
- Troubleshooting 'undefined' error HOT 1
- TcpVideoStream timeout HOT 2
- when trying to npm install ar-drone
- pngStream only sends one image to browser
- Error: Cannot find module 'simple-debug' HOT 1
- Error: Ffmpeg exited with error code: null
- Cannot perform a counter clockwise rotation
- IDE
- External sensors HOT 1
- Feeding PngStream to openCV
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ar-drone.