Skip to content

Instantly share code, notes, and snippets.

View kskrueger's full-sized avatar

Karter Krueger kskrueger

View GitHub Profile
@kskrueger
kskrueger / DiscordAnalysis.py
Last active August 1, 2021 12:20
Analyze discord usage
import json
import csv
from datetime import date
import numpy as np
from glob import glob
from matplotlib import pyplot as plt
join_date = date(2017, 8, 3)
path_to_package_directory = "/Users/kskrueger/PycharmProjects/DiscordLearning/Personal/package-2/"
@kskrueger
kskrueger / IMU.java
Last active December 3, 2017 17:47
Example code for reading the IMU
//you will need to import these
import com.qualcomm.hardware.bosch.BNO055IMU;
import com.qualcomm.hardware.bosch.JustLoggingAccelerationIntegrator;
import com.qualcomm.robotcore.hardware.HardwareMap;
import org.firstinspires.ftc.robotcore.external.navigation.AngleUnit;
import org.firstinspires.ftc.robotcore.external.navigation.AxesOrder;
import org.firstinspires.ftc.robotcore.external.navigation.AxesReference;
import org.firstinspires.ftc.robotcore.external.navigation.Orientation;