diff --git a/Mag_Gyro_Calibration.ipynb b/Mag_Gyro_Calibration.ipynb index da38c02..a561763 100644 --- a/Mag_Gyro_Calibration.ipynb +++ b/Mag_Gyro_Calibration.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 49, + "execution_count": 14, "metadata": {}, "outputs": [ { @@ -24,7 +24,7 @@ "print(\"backend = \",plt.get_backend()) #prints \"widget\"\n", "\n", "from matplotlib.animation import FuncAnimation\n", - "import datetime\n", + "from datetime import datetime\n", "import matplotlib.dates as mdates\n", "from collections import deque\n", "import numpy as np\n", @@ -47,20 +47,20 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 15, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Sample time: 2026-04-28 12:59:10\n", + "Sample time: 2026-04-28 13:48:11\n", "Opened /dev/ttytDAN\n", - "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -159.0, 278.0, 465.0]\n", - "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -160.0, 281.0, 446.0]\n", - "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -156.0, 281.0, 447.0]\n", - "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -160.0, 281.0, 454.0]\n", - "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -158.0, 281.0, 455.0]\n" + "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -176.0, 312.0, 424.0]\n", + "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -180.0, 298.0, 441.0]\n", + "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -175.0, 299.0, 437.0]\n", + "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -180.0, 304.0, 458.0]\n", + "[0.0, 0.0, 8192.0, 0.0, 0.0, 0.0, -182.0, 300.0, 427.0]\n" ] } ], @@ -114,7 +114,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 16, "metadata": { "scrolled": true }, @@ -125,14 +125,14 @@ "text": [ "After closing port and before starting.\n", "HOSTNAME: eos , PORT: /dev/ttytDAN\n", - "Plotting time start: 2026-04-28 13:01:52\n", + "Plotting time start: 2026-04-28 13:48:19\n", "Before show()\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "c9a046b15cfb46d7be8087b1d6be51ce", + "model_id": "18d570ab556e4834892b65fe6d786a64", "version_major": 2, "version_minor": 0 }, @@ -158,7 +158,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Plotting time stopped (by user click or limit): 2026-04-28 13:01:52\n", + "Plotting time stopped (by user click or limit): 2026-04-28 13:48:19\n", "After show()\n", "After for i loop\n" ]