Skip to content

Instantly share code, notes, and snippets.


Connor Monahan cmastudios

Block or report user

Report or block cmastudios

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
cmastudios / PnP(1).ipynb
Last active Jan 12, 2020
2020 FRC vision finding pose of high target
View PnP(1).ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
cmastudios / tmp75a.c
Created Oct 19, 2019
TMP75A reading code but entirely untested
View tmp75a.c
* TMP75A reading code
#include <asf.h>
#include <stdint.h>
////////////// config //////////////////
# coding: utf-8
import numpy as np
import random
code = (1, 2, 3, 4)
def play(code, guess):
red = 0
white = 0
cmastudios /
Created Apr 29, 2015
Filter images from RR 2015, save them raw to a file
#sudo apt-get install python-pip
#sudo pip install Pillow
#working directory must contain a folder "Vision Images" that contains folders
#created by the RR 2015 vision system
#to run:
View stddev.cpp
double contour_average_distance(Mat image, Contour contour)
double average = 0;
for (Point pt : contour) {
average += Calculate_Real_Distance(image, pt);
return average / contour.size();
double contour_stddev(Mat image, Contour contour)
cmastudios / example.c
Created Oct 22, 2014
dylan command process
View example.c
#include "stdio.h"
#include "string.h"
#include "windows.h"
void process_command(char *line);
int main()
int c = 0;
int position = 0;
cmastudios / config.yml
Created Dec 11, 2013
new achievement storage
View config.yml
- name: Parkour1
type: BRONZE
course: 1
- name: Zapierdol
type: BRONZE
cmastudios / war.yml
Last active Dec 17, 2015
War Killstreak Configuration
View war.yml
privmsg: You have been rewarded with some health for your kills.
health: 8
xp: 3
View jenkins-apache-config
# BEGIN Jenkins
<VirtualHost *:80>
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
ProxyRequests off
<Proxy http://localhost:8080/*>
Order deny,allow
Allow from all
cmastudios / plot.js
Last active Dec 10, 2015
Zacraft-style plot boundary generator for WorldEdit craftscripts
View plot.js
Copyright (c) 2012 Connor Monahan
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
You can’t perform that action at this time.