Skip to content

Instantly share code, notes, and snippets.

View DrWateryCat's full-sized avatar

Writethony Codetano DrWateryCat

View GitHub Profile
@DrWateryCat
DrWateryCat / libfreenect_opencvtest.cpp
Last active April 12, 2017 20:20
OpenCV, libfreenect, and cscore test
#define DEBUG
#include <iostream>
#include <vector>
#include <algorithm>
#include <ctime>
#include <libusb-1.0/libusb.h>
#include <libfreenect/libfreenect.hpp>
#include <opencv2/opencv.hpp>
import json
import socket
import logging
from components import drive
class Minimap:
'''
classdocs
'''
import wpilib
import ctre
from robotpy_ext.common_drivers.navx import *
class Drive:
'''
classdocs
'''
navx = AHRS
def setup(self):