Skip to content

Instantly share code, notes, and snippets.

View arlk's full-sized avatar
🏖️

Arun Lakshmanan arlk

🏖️
View GitHub Profile
@arlk
arlk / bb8.py
Created November 22, 2015 13:47 — forked from ali1234/bb8.py
Control Sphero BB-8 from Linux.
#!/usr/bin/env python
# BB-8 Python driver by Alistair Buxton <a.j.buxton@gmail.com>
from bluepy import btle
import time
class BB8(btle.DefaultDelegate):
def __init__(self, deviceAddress):
@arlk
arlk / listener.py
Last active August 29, 2015 14:23 — forked from vo/listener.py
#!/usr/bin/env python
import sys, os, socket, pickle
from time import time
from optparse import OptionParser
UDP_IP = "127.0.0.1"
UDP_PORT = 31200
# tell python where to find mavlink so we can import it
@arlk
arlk / override_rc.py
Last active August 29, 2015 14:23 — forked from vo/override_rc.py
#!/usr/bin/env python
import sys, os
from optparse import OptionParser
import Tkinter as tk
# tell python where to find mavlink so we can import it
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../mavlink'))
from pymavlink import mavutil