Skip to content

Instantly share code, notes, and snippets.

View moorepants's full-sized avatar

Jason K. Moore moorepants

View GitHub Profile
@moorepants
moorepants / imu-map-assignment.pdf
Last active November 10, 2020 09:28
BEP Assignment: Generalized Variables From Two IMUs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moorepants
moorepants / tab-delimited.py
Last active September 1, 2020 16:41
Basic loading of tab delimited text files.
# This section just builds a sample tab delimited file to work with, don't
# worry too much about this code yet. Just have a look at the `test.txt` file
# that it creates and checkout the following sections.
x = range(10)
funcs = [lambda x: x**2, lambda x: x / 5.0, lambda x: x**3, lambda x: x + 3]
lines = 'x\tx^2\tx/5\tx^3\tx+3\n'
for row in x:
lines += str(row)
for col in funcs:
@moorepants
moorepants / auto_lateral_dynamics_symbolic.ipynb
Last active August 9, 2020 05:49
Derives the equations of motion for the lateral dynamics of a car model using Lagrange's method.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moorepants
moorepants / chaos_pendulum_pythreejs_manual.ipynb
Last active June 5, 2020 14:19
Notebooks for lecture 18 Fall 2019.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moorepants
moorepants / test_upload_tagged_photos.py
Created August 19, 2013 02:21
Image uploader for localwikis.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from upload_tagged_photos import ImageUploader
def TestUploadWiki():
url = "http://clevelandwiki.org/api/"
user_name = raw_input("What is your username?")
api_key = getpassword("What is your api_key?")
We couldn’t find that file to show.
@moorepants
moorepants / mae223-eom-example-figure.png
Last active November 21, 2019 20:25
MAE 223 Fall 2019 L18
mae223-eom-example-figure.png
@moorepants
moorepants / subs_derivatives.ipynb
Last active November 1, 2019 05:43
Example showing that subs doesn't work as you might expect with derivatives.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@moorepants
moorepants / bicycle.bib
Created August 29, 2012 04:52
dissertation bib file
% This file was created with JabRef 2.8.1.
% Encoding: UTF8
@ARTICLE{Astrom1976,
author = {{\AA}str{\"o}m, Karl Johan and K{\"a}llstr{\"o}m, Claes},
title = {Identification on Ship Steering Dynamics},
journal = {Automatica},
year = {1976},
volume = {12},
pages = {9–22},