Skip to content

Instantly share code, notes, and snippets.

View scspaeth's full-sized avatar

Stephen Spaeth scspaeth

View GitHub Profile
@scspaeth
scspaeth / 2PLOneGyros.phyphox
Last active June 3, 2019 14:50
Two PLOne running synchronously: Fork of PLOneGyro.phyphox to make multi-sensor
<phyphox version="1.7">
<title>Gyroscope</title>
<category>PocketLab One</category>
<description>Connect to and read gyroscopes of two PocketLab One sensors A and B.
Convert raw sensor readings to Angular Velocity in rad/s.
Forked from TI SensorTag Gyroscope.phyphox
</description>
<data-containers>
<container size="0">gyrXRawA</container>
<container size="0">gyrYRawA</container>
@scspaeth
scspaeth / PLOneGyro.phyphox
Last active June 3, 2019 11:44
Fork of TI SensorTag Gyro; using CC2541 GyroUUIDs and Phyphox Accel params,
<phyphox version="1.7">
<title>Gyroscope</title>
<category>PocketLab One</category>
<description>Read the gyroscope of the PocketLab One and convert raw sensor readings to Angular Velocity in rad/s.</description>
<data-containers>
<container size="0">gyrXRaw</container>
<container size="0">gyrYRaw</container>
<container size="0">gyrZRaw</container>
<container size="0">gyrXCal</container>
<container size="0">gyrYCal</container>
@scspaeth
scspaeth / IntegratedGyro.phyphox
Last active June 7, 2019 19:56
Forked: Gyroscope.phyphox (phone's sensor) and added integration in editor by following IntegratedAcceleration.phyphox
<phyphox version="1.6" locale="en">
<title>Integrated Gyro</title>
<category>Tools</category>
<description>Get data from the iPhone gyroscope and integrate once to obtain angles of rotation.</description>
<link label="Wiki">http://phyphox.org/wiki/index.php?title=Sensor:_Gyroscope</link>
<link label="x / y / z">http://phyphox.org/sensors/</link>
<icon format="string">IAV</icon>
<translations>
<translation locale="de">
<title>Gyroskop</title>
@scspaeth
scspaeth / GyroSCS.phyphox
Created May 18, 2019 14:36
GyroSCS.phyphox Test experiment
<phyphox version="1.6" locale="en">
<title>GyroSCS</title>
<category>Raw Sensors</category>
<description>Get raw data from the gyroscope.</description>
<link label="Wiki">http://phyphox.org/wiki/index.php?title=Sensor:_Gyroscope</link>
<link label="x / y / z">http://phyphox.org/sensors/</link>
<icon format="string">Gys</icon>
<translations>
<translation locale="de">
<title>Gyroskop</title>
@scspaeth
scspaeth / SFMayoralRCV2018final.json
Last active August 28, 2018 20:11
Fork of Levy data for Sankey analysis of San Francisco Mayoral Ranked Choice Voting from Preliminary 4 2018-6-5 to Final results 2018-6-27
{
"nodes":[
{"name": "Pass 2: Amy Farah Weiss" },
{"name": "Pass 2: Angela Alioto" },
{"name": "Pass 2: Ellen Lee Zhou" },
{"name": "Pass 2: Jane Kim" },
{"name": "Pass 2: London Breed" },
{"name": "Pass 2: Mark Leno" },
{"name": "Pass 2: Michelle Bravo" },
{"name": "Pass 2: Richie Greenberg" },
@scspaeth
scspaeth / AmRevGIS-ISU-Project.geojson
Last active July 1, 2016 15:47
American Revolution Project from Illinois State U. GIS project. Shape files converted to GeoJSON
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@scspaeth
scspaeth / OldBostonTnpk.geojson
Last active June 7, 2016 00:36
Track of the Old Boston Turnpike that forms the boundary of the part of the Natchaug State Forest. Visual interpretation taken from satellite imagery at GeoJSON.io
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@scspaeth
scspaeth / OakStHillChallenge.geojson
Last active May 15, 2016 21:21
Transfer of data from myMaps.google version of my Oak Street Hill Challenge. Part of Woodside STEM mentoring at WOW and Fifth-grade project-based learning.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@scspaeth
scspaeth / gist:4d7f1a985506730d99265e6e5a115f91
Created April 15, 2016 19:11
Historical Markers Database Map of the Old Connecticut Path. The HMDB allows you to make a query of their database to produce a map with corresponding marker numbers.
http://www.hmdb.org/map.asp?markers=0,44255,48017,93606,48793,48792,48306,52917,44070,83119,52695,43708,52439,43742,43743,74248,52432,52557,52620,52601,46179,46099,65721,28369,48817,48028
@scspaeth
scspaeth / AccelGravAccGyro_20160106_112735.csv
Created February 23, 2016 16:37
Concurrent measurements of Accel, GravAcc, and RotRate for X,Y,Z for simple ride down drive and push back up.
Timestamp Accel_X Accel_Y Accel_Z GravAcc_X GravAcc_Y GravAcc_Z RotRate_X RotRate_Y RotRate_Z
0.177286 0.075897 0.996262 0.017441 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.202709 0.075897 0.996262 0.017441 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.251362 0.070450 1.002609 0.033127 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.300357 0.067444 0.985596 0.001282 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.351439 0.061539 0.994400 0.064743 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.400375 0.055954 0.997162 0.019745 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.451868 0.021286 0.997696 0.016602 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.501274 0.050949 1.009277 0.020508 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.550620 0.044067 0.996704 0.018356 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000