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:
| #include "motion.h" | |
| #include <cmath> | |
| #include <iostream> | |
| using namespace std; | |
| /** | |
| * @param distance in encoder ticks | |
| * @param max_v in ticks/100ms |
| package org.team2767.thirdcoast; | |
| import com.ctre.phoenix.ErrorCode; | |
| import com.ctre.phoenix.motorcontrol.ControlMode; | |
| import com.ctre.phoenix.motorcontrol.can.TalonSRX; | |
| import edu.wpi.first.wpilibj.IterativeRobot; | |
| import edu.wpi.first.wpilibj.Timer; | |
| public class TalonTestRobot extends IterativeRobot { |
| #!/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 |
| lvcreate -n dns01 -V 10G --thinpool vg01/pool00 |
| #!/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 |
| 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 | |
| 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() |
I hereby claim:
To claim this, I am signing this object: