Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubleshooting 'undefined' error #153

Open
ZachAgostine opened this issue Oct 1, 2017 · 1 comment
Open

Troubleshooting 'undefined' error #153

ZachAgostine opened this issue Oct 1, 2017 · 1 comment

Comments

@ZachAgostine
Copy link

Hey everyone,

I'm following this tutorial http://www.instructables.com/id/Autonomous-AR-Parrot-Drone-20-Flying/ and when I run the var arDrone = require('ar-drone'); it returns undefined. I believe I have the ar-drone module installed correctly and properly setup.

Any feedback/tips would be greatly appreciated.

Thanks!

@williamvillena
Copy link

hello Zach!
do you have microsoft visual studio latest version? If not then try to download it then instead of making a notepad text file, make a .js file in Microsoft Visual Studioand paste the information into the .js file then save the file into the (c:\Development\Drone) folder in drone an simply save it there.
Steps:
1.copy repl.js text that say "var arDrone = require('ar-drone');"
2.go to Microsoft Visual Studio and click new on file
3. select javascript .js
4.paste the repl.js info we copied earlier in step 1, should be four lines.
5.save the file into your c: drive (\Development\Drone) and make sure the "save as type" is Javascript .js
5.2. Make sure the file named is repl.js
6.when you run on command prompt, type in your folders ( c: drive (\Development\Drone) ) then type :
node repl.js

drone.> should appear.

Useful information:
If you are working on the same project as me involving the Parrot AR 2.0 then try reviewing this article
http://www.marktorr.com/the-drone-journey-part-1/

if you need any further help, do not hesitate to reply back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants