Skip to content

Instantly share code, notes, and snippets.

View adai183's full-sized avatar

Andreas Daiminger adai183

View GitHub Profile
# ----------------
# User Instructions
#
# Implement twiddle as shown in the previous two videos.
# Your accumulated error should be very small!
#
# You don't have to use the exact values as shown in the video
# play around with different values! This quiz isn't graded just see
# how low of an error you can get.
#
# -----------
# User Instructions
#
# Implement a P controller by running 100 iterations
# of robot motion. The steering angle should be set
# by the parameter tau so that:
#
# steering = -tau_p * CTE - tau_d * diff_CTE - tau_i * int_CTE
#
# where the integrated crosstrack error (int_CTE) is
@adai183
adai183 / README.md
Created January 26, 2016 15:53 — forked from mbostock/.block
Collapsible Tree
@adai183
adai183 / build-html.js
Created December 21, 2015 15:24 — forked from kylerush/build-html.js
Detailed Flickr photo wall tutorial
function(data){
//loop through the results with the following function
$.each(data.photoset.photo, function(i,item){
//build the url of the photo in order to link to it
var photoURL = 'http://farm' + item.farm + '.static.flickr.com/' + item.server + '/' + item.id + '_' + item.secret + '_m.jpg'
//turn the photo id into a variable
var photoID = item.id;