I hereby claim:
- I am hfreni on github.
- I am hfreni (https://keybase.io/hfreni) on keybase.
- I have a public key ASDWIAvV6qOSWwkYR7T9bNOuxESiM4zB5I2Rs60GDzr89Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| require 'open-uri' | |
| require 'nokogiri' | |
| require 'pp' | |
| require 'parallel' | |
| require 'benchmark' | |
| @urls = [] | |
| File.open( ARGV[0] ).each do |line| |
| { | |
| "productions": [ | |
| { | |
| "production_id": "1", | |
| "production_title": "In The Heights", | |
| "production_type": "Musical", | |
| "production_shoporders": { | |
| "rental_shoporders": { | |
| "shoporder_id": "1", | |
| "shoporder_items": [ |
| const uptime = this.client.uptime; | |
| const date = new Date(uptime); | |
| const days = date.getUTCDate() - 1, | |
| hours = date.getUTCHours(), | |
| minutes = date.getUTCMinutes(), | |
| seconds = date.getUTCSeconds(); | |
| // Initialize an array for the uptime. | |
| let segments = []; |
| int previousError = 0; | |
| float errorSum = 0; | |
| int powApplied = 0; | |
| void liftPID(int target) { | |
| int error = target - SensorValue[sensorLift]; | |
| int derivative = error - previousError; | |
| powApplied = (error*2.0 + derivative*0.3); | |
| setLift(powApplied); | |
| previousError = error; |
>Greentext| //--Tunable Variables--\\ | |
| float kP = 1.0; | |
| float kI = 1.0; | |
| float kD = 1.0; | |
| float kL = 50.0; | |
| int targetValue = 0; | |
| //--Basic PID Loop--\\ | |
| task basicPID(){ |
| #define MAX_AUTONS 17 | |
| #define LEFT 1 | |
| #define RIGHT 4 | |
| #define CENTER 2 | |
| #define LC 3 | |
| #define LR 5 | |
| #define RL 6 | |
| #define ALL 7 | |
| int count = 0; |
| <link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png"> | |
| <link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png"> | |
| <link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png"> | |
| <link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png"> | |
| <link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png"> | |
| <link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png"> | |
| <link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png"> | |
| <link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png"> | |
| <link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png"> | |
| <link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png"> |
I hereby claim:
To claim this, I am signing this object: