I hereby claim:
- I am jhh on github.
- I am jeffhutchison (https://keybase.io/jeffhutchison) on keybase.
- I have a public key whose fingerprint is 158F 85E0 95D0 4DB2 6F7C 2BAF 9723 5478 A5CD 1073
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import cv2 | |
import sys | |
import os | |
def simple_threshold(path, thresh): | |
# read in the image | |
img = cv2.imread(path) | |
# display the image and wait for key press |
import cv2 | |
import sys | |
import os | |
# usage: python ex_001.py path/to/image.jpg | |
imgPath = sys.argv[1] | |
if not os.path.isfile(imgPath): | |
print("Image file not found.") | |
sys.exit() |
import cv2 | |
import sys | |
import os | |
def simple_threshold(path, thresh): | |
# read in the image | |
img = cv2.imread(path) | |
# display the image and wait for key press |
#!/bin/bash | |
# Put this in ~/.ssh/config to avoid the password check and ssh noise | |
# you need to have ssh public key for IdentityFile in roboRIO /home/admin/.ssh/authorized_keys | |
# | |
# Host roborio | |
# IdentityFile ~/.ssh/roborio | |
# HostName roborio-TTTT-frc.local | |
# User admin | |
# StrictHostKeyChecking no |
lvcreate -n dns01 -V 10G --thinpool vg01/pool00 |
#!/bin/sh | |
echo tct starting, please wait... | |
/usr/local/frc/JRE/bin/java -Djava.library.path=/usr/local/frc/lib/ -jar tct.jar 2> /dev/null |
#include "motion.h" | |
#include <cmath> | |
#include <iostream> | |
using namespace std; | |
/** | |
* @param distance in encoder ticks | |
* @param max_v in ticks/100ms |
// factory reset a talon and run these statements in a robot program | |
double value = talon.configGetParameter(ParamEnum.eBatteryVoltageFilterSize, 0, 10) | |
System.out.println("voltage filter size = " + value); | |
value = talon.configGetParameter(ParamEnum.eProfileParamSlot_MaxIAccum, 0, 10) | |
System.out.println("max I-accum = " + value); |