{ "cells": [ { "cell_type": "code", "execution_count": 2, "id": "e7f085a3-d742-4001-b7a1-a7a1d1688b14", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
timestampfpsdebugLegTrackerPositionXdebugLegTrackerPositionYdebugLegTrackerPositionZdebugPosOnBikePlaneXdebugPosOnBikePlaneYdebugPosOnBikePlaneZdebugFrontWheelTrackerRelativePositionXdebugFrontWheelTrackerRelativePositionY...kineticTrackerPositionZkineticTrackerRotationXkineticTrackerRotationYkineticTrackerRotationZhmdPositionXhmdPositionYhmdPositionZhmdRotationXhmdRotationYhmdRotationZ
02971101.3276-0.4701-0.80420.00.00.0-0.0001-0.0026...-0.8042331.644104-28.13484-0.018555459.98801.429849255.41385.605991192.26580.141556
12975201.3027-0.4894-0.80000.00.00.0-0.0003-0.0028...-0.7999591.675232-28.19446-0.145508459.97651.429036255.30695.699459192.18930.062671
22980401.2761-0.5080-0.79600.00.00.0-0.0002-0.0017...-0.7960131.765808-28.31874-0.243256459.96261.428433255.17825.889655192.16780.022012
32982101.2572-0.5196-0.79500.00.00.0-0.0003-0.0018...-0.7949791.712036-28.25565-0.186340459.95801.428344255.13536.009012192.1792359.940600
42983801.2463-0.5269-0.79340.00.00.0-0.0009-0.0010...-0.7934461.715332-28.22510-0.169464459.95371.431501255.09306.076287192.1553359.935100
\n", "

5 rows × 49 columns

\n", "
" ], "text/plain": [ " timestamp fps debugLegTrackerPositionX debugLegTrackerPositionY \\\n", "0 29711 0 1.3276 -0.4701 \n", "1 29752 0 1.3027 -0.4894 \n", "2 29804 0 1.2761 -0.5080 \n", "3 29821 0 1.2572 -0.5196 \n", "4 29838 0 1.2463 -0.5269 \n", "\n", " debugLegTrackerPositionZ debugPosOnBikePlaneX debugPosOnBikePlaneY \\\n", "0 -0.8042 0.0 0.0 \n", "1 -0.8000 0.0 0.0 \n", "2 -0.7960 0.0 0.0 \n", "3 -0.7950 0.0 0.0 \n", "4 -0.7934 0.0 0.0 \n", "\n", " debugPosOnBikePlaneZ debugFrontWheelTrackerRelativePositionX \\\n", "0 0.0 -0.0001 \n", "1 0.0 -0.0003 \n", "2 0.0 -0.0002 \n", "3 0.0 -0.0003 \n", "4 0.0 -0.0009 \n", "\n", " debugFrontWheelTrackerRelativePositionY ... kineticTrackerPositionZ \\\n", "0 -0.0026 ... -0.804233 \n", "1 -0.0028 ... -0.799959 \n", "2 -0.0017 ... -0.796013 \n", "3 -0.0018 ... -0.794979 \n", "4 -0.0010 ... -0.793446 \n", "\n", " kineticTrackerRotationX kineticTrackerRotationY kineticTrackerRotationZ \\\n", "0 1.644104 -28.13484 -0.018555 \n", "1 1.675232 -28.19446 -0.145508 \n", "2 1.765808 -28.31874 -0.243256 \n", "3 1.712036 -28.25565 -0.186340 \n", "4 1.715332 -28.22510 -0.169464 \n", "\n", " hmdPositionX hmdPositionY hmdPositionZ hmdRotationX hmdRotationY \\\n", "0 459.9880 1.429849 255.4138 5.605991 192.2658 \n", "1 459.9765 1.429036 255.3069 5.699459 192.1893 \n", "2 459.9626 1.428433 255.1782 5.889655 192.1678 \n", "3 459.9580 1.428344 255.1353 6.009012 192.1792 \n", "4 459.9537 1.431501 255.0930 6.076287 192.1553 \n", "\n", " hmdRotationZ \n", "0 0.141556 \n", "1 0.062671 \n", "2 0.022012 \n", "3 359.940600 \n", "4 359.935100 \n", "\n", "[5 rows x 49 columns]" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "import numpy as np;\n", "import pandas as pd;\n", "\n", "log_df = pd.read_csv(\"./logs/sample_log.tsv\",sep=\"\\t\")\n", "log_df.head()" ] }, { "cell_type": "code", "execution_count": null, "id": "c13ffea0", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.9" } }, "nbformat": 4, "nbformat_minor": 5 }