Rawbot + Bebop 2 + Xbox Controller

in iot •  6 years ago  (edited)

Let's kick off by cloning the rawbot-bebop repository
The following project allows you to use your Xbox joystick to control the Bebop 2 drone, as well, perform stunts, capture photos and videos, and transfer them to your working directory using FTP. Controls may vary by using different joysticks and drivers and OS (e.g: Mad Catz Fightpad on Raspberry PI 3 has different controls than the one running on a MacBook).

$ git clone https://github.com/rawbotcoin/rawbot-bebop

l_10153200_007.jpg
Install required modules

$ npm install

Note that you need to either subscribe to one of the Rawbot test addresses over the Ropsten network or deploy your own contract.

Make sure to check the Rawbot smart contract for more details and instructions: https://github.com/rawbotcoin/rawbot

Configure your bebop 2 drone by filling the .env file.

NETWORK="ROPSTEN"
ACCOUNT_ADDRESS=""
ACCOUNT_PRIVATE_KEY=""
INFURA_KEY=""
RAWBOT_ADDRESS=""
DEVICE_MANAGER_ADDRESS=""
DEVICE_ADDRESS=""
MINIMUM_ALTITUDE=
MAXIMUM_ALTITUDE=

You don't need to fill your account address and private key, since you're listening to the rawbot event on the drone.

Run your drone and start doing crazy stunts
Indoor:

$ npm start in

Outdoor:

$ npm start out

Prototype: https://drive.google.com/open?id=1u_3BybJ5Vu4S9BcFTz86iIzOU0669Xi7

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!