This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <FastLED.h> | |
#include <Wire.h> | |
#include "Adafruit_Trellis.h" | |
// Comment out for prod to save memory | |
//#define DEBUG 1 | |
// LEDs | |
const int LED_PIN = 6; | |
int isFire = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import sys | |
import DriverMessages_pb2 | |
import math | |
import gpxpy | |
import gpxpy.gpx | |
class Driver: | |
def __init__(self): | |
print("Initializing Driver...\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import matplotlib.pyplot as plt | |
from scipy.interpolate import interp1d | |
import matplotlib.patches as mpatches | |
import numpy as np | |
from scipy import interpolate | |
from scipy.signal import savgol_filter | |
import statsmodels.api as sm | |
polyDegree = 50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
ledColorTest.ino - Code to run on Chairmans Visual for the 2019 season | |
author - Mateo Silver | |
REFERENCE COLORS: | |
Red - (255,0, 0) | |
Blue - (0,0, 255) | |
Green - (0,255, 0) | |
White - (255,255, 255) | |
Purple - (128,0, 128) |