Skip to content

Commit f2e1378

Browse files
authored
Merge pull request #6 from JavaScript-NZ/feature/nodebots-js-con
Add new guide for nodecopters
2 parents 9ce125f + a8d657f commit f2e1378

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ NodeBots New Zealand
33

44
Welcome to NodeBots New Zealand. Here you will find all the things you need to get up and running at a NodeBots New Zealand Event.
55

6+
If you're here for the NodeBots event for nz.js(con), then head on over [here](events/nodebots-nz-js-con-2017.md).
7+
68
For general help on getting started, checkout our [setup guide](setup.md) and [getting started guide](guides/getting-started.md#getting-started). These two guides should cover everything you need for a NodeBots day.
79

810
[Join the chat at http://slack.javascript.org.nz](http://slack.javascript.org.nz)

events/nodebots-nz-js-con-2017.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# nz.js(con).nodebots
2+
3+
Haere mai, and welcome to the nz.js(con).nodebots workshop.
4+
5+
Thanks to our awesome sponsors at Xero, who you should checkout if you're looking for JavaScript jobs, we have 12 Parrot mini-drones to hack on.
6+
7+
So today we'll be working with drones 🤖!
8+
9+
For the first part of the workshop, you'll be connecting to the drones, using node and JavaScript.
10+
11+
Once you're up and running it's up to you how you control them. Through controllers, phones, pebble watches, leap motions... the sky is the limit.
12+
13+
Thirty minutes before the end of the event, we'll be hosting a drone racing knockout elimination tournament, where you'll be racing your drone around a course, in groups of 4 to find the ultimate node drone racing champion.
14+
15+
There will be prizes for the winners, with spot prizes in the mix, and no doubt drone crashes worthy of tweeting about.
16+
17+
If you're not in to drones, or we've run out of drones to offer, we'll also be running our classic sumo-bot tournament, where you can build a two wheeled sumo-bot, and battle it in a sumo-fighting tournament.
18+
19+
## Gear up
20+
21+
There are only 12 drones, so we'll be working in groups to get the job done, so form a group or grab a buddy, then be sure to pick up your drone from the nodebots depot, likely located on the table where everyone is scrambling too.
22+
23+
Once you have your drone, and a few backup batteries, you'll want to make sure you have a lego mini-figure your team relates to, then you're ready to start hacking.
24+
25+
Alternatively, if we're out of drones, then pickup a sparkfun inventors kit and a sumo-bot chassis and head on over to: [link here] for details on how to build it.
26+
27+
## Getting friendly with your Drone
28+
29+
Although you can use the Parrot Mini app for for [iOS](https://itunes.apple.com/us/app/freeflight-mini/id1137022728?mt=8) or [Android](https://play.google.com/store/apps/details?id=com.parrot.freeflight4mini&hl=en) that's not nearly as fun as controlling it with JavaScript!
30+
31+
The npm module you're going to want to use is [node-rolling-spider](https://github.com/voodootikigod/node-rolling-spider). When you grab your drone we'll tell you the Bluetooth name so that you can use that to connect with.
32+
33+
We'd recommend getting a simple example working first just to get used to how everything connects. There are examples inside the above module in the `/eg` folder.
34+
35+
What's next? It's up to you!
36+
37+
Good luck 👍🏼
38+
39+
## Things to keep in mind
40+
41+
tl;dr; Be careful of other people ;)
42+
43+
- Don't fly the drones *at* people or annoy anyone by buzzing them around their heads. Those blades are super sharp
44+
- Keep the indoor hull on your drone
45+
- The drones are going to hit the wall or the roof, we know, but please don't do that on purpose
46+
- Just generally be curteous of other people's space where you can

0 commit comments

Comments
 (0)