Skip to content

Instantly share code, notes, and snippets.

A, B, C are the coordinates (in meters) but I don't remember the order.
Only the first element is the actual data.
(Sensor is at 1.77,-0.95,-0.39 which results in angle 2.047)
My calibration parameters for this axis:
phase = +0.01558685
tilt = +0.00029802
curve = -0.00180244
@nairol
nairol / LHBS-rotor-stability.txt
Last active May 4, 2018 19:31
Lighthouse Base Station Rotor Stability
Meaning of the numbers:
Number of samples (rotations)
| Mean rotation period
| | Standard deviation of rotation period
| | | sigma/mu in parts per million
| | | | ?
| | | | | L=Locked / X=Unlocked
| | | | | |
rotor 0 period (k = 2041): mu = 16.667 ms, sigma = 0.105 us (6.3 ppm) 2053.4 L
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>FCC OET Authorization Search: Oculus VR, Inc</TITLE>
</HEAD>
<body>
<FORM ACTION="https://apps.fcc.gov/oetcf/eas/reports/GenericSearchResult.cfm?RequestTimeout=500" METHOD="post" name="generic_search_form" style="display:none">
<INPUT NAME="grantee_code" TYPE="text" value="2AGOZ">
#EXTM3U
#EXTINF:0,VR Casters
http://www.vrcasters.com:8000/live
@nairol
nairol / oculus_led_ecc.c
Last active March 19, 2019 08:59
Oculus Rift DK2 IR-LED ECC Generator Algorithm
/*
** This is the algorithm that generates the error correction code (ECC) used to identify each IR-LED in
** the Oculus Rift DK2.
** More information on the DK2 optical tracking system can be found in the blog post series
** "Hacking the Oculus Rift DK2" by Oliver Kreylos: http://doc-ok.org/?p=1095
**
** This algorithm was *not* found in the binaries provided by Oculus (they only include pre-computed LUTs).
**
** The algorithm is pretty simple:
** All code words need to fulfil two requirements:
@nairol
nairol / EntityTrackingTest.java
Created July 5, 2014 02:56
MinecraftForge Mod that tests my pull request for client-side PlayerEvent.[Start,Stop]Tracking
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.entity.player.PlayerEvent;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
@Mod(modid = EntityTrackingTest.MODID, version = EntityTrackingTest.VERSION)
public class EntityTrackingTest
{
<html>
<embed src="http://superhotgame.com/SUPERHOT_Prototype.unity3d" type="application/vnd.unity" width="1920" height="1080" firstframecallback="UnityObject2.instances[0].firstFrameCallback();" enabledebugging="0" style="display: block; width: 1920px; height: 1080px;">
</html>