diff --git a/firmware/websocket_test.py b/firmware/websocket_test.py index 38b2464..a9e09f1 100644 --- a/firmware/websocket_test.py +++ b/firmware/websocket_test.py @@ -110,7 +110,7 @@ async def send_wifi_trigger_scan(websocket): await send_message(websocket, MsgCode.WIFI_TRIGGER_SCAN) -send_functions += [send_wifi_state_get, send_wifi_trigger_scan] +#send_functions += [send_wifi_state_get, send_wifi_trigger_scan] # ------------------------------------------------------------------------------- diff --git a/hardware/case/case_solidpython.ipynb b/hardware/case/case_solidpython.ipynb index cedf39e..622502f 100644 --- a/hardware/case/case_solidpython.ipynb +++ b/hardware/case/case_solidpython.ipynb @@ -132,7 +132,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 12, "id": "4b17b3f1", "metadata": {}, "outputs": [], @@ -188,7 +188,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 5, "id": "c22da25a", "metadata": {}, "outputs": [ @@ -198,7 +198,7 @@ "580" ] }, - "execution_count": 11, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -217,10 +217,18 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 10, "id": "98eeee57", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "(620, 1400, 431)\n" + ] + } + ], "source": [ "def make_upper_part(with_screw_holes):\n", " # shortcuts\n", @@ -237,6 +245,7 @@ " interior_size = (lcell_size[0] + 2 * tol_around_lcell + 2 * cable_space + 2 * separator_size[0],\n", " lcell_size[1] + bottom_lip,\n", " lcell_size[2] + 2 * tol_around_lcell + pcb_dims['size'][2] + wt)\n", + " print(interior_size)\n", " size = tuple(s + 2 * wall_thickness for s in interior_size)\n", " \n", " # outer wall\n", @@ -294,7 +303,7 @@ " else:\n", " return outer_wall + pcb_rails + load_cell_cap + cap_wedges\n", "\n", - "#upper_part = make_upper_part(tr)" + "upper_part = make_upper_part(True)" ] }, { @@ -307,7 +316,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 8, "id": "a377d2ff", "metadata": {}, "outputs": [], @@ -437,7 +446,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.5" + "version": "3.8.10" } }, "nbformat": 4, diff --git a/hardware/case/swim_tracker_case.FCStd b/hardware/case/swim_tracker_case.FCStd index da34b4f..5b91483 100644 Binary files a/hardware/case/swim_tracker_case.FCStd and b/hardware/case/swim_tracker_case.FCStd differ