# Calibration_Room_Demo **Repository Path**: wangda11/calibration_-room_-demo ## Basic Information - **Project Name**: Calibration_Room_Demo - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-27 - **Last Updated**: 2026-04-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: 手柄-标定室演示脚本 ## README # Calibration_Room_Demo #### 介绍 1. 适配于手柄,上位机演示 2. 已经适配 Windows 和 Ubuntu #### 软件架构 1. 蓝牙串口动态检测 2. 串口通讯 与 数据解析:心跳、摇杆、按键、定位数据、版本号、电池状态 3. UI显示 #### 安装环境 ```bash conda create -n pyside python==3.10 ``` #### 激活环境 ```bash conda activate pyside pip install -r requirements.txt ``` 清华源镜像 -i https://pypi.tuna.tsinghua.edu.cn/simple #### 执行代码 ```bash python DEMO/main_window.py ``` #### Ubuntu 以下操作均添加到代码中执行 ----------------通过手动指令查看---------------- 1. 安装必要软件包 ```bash sudo apt update sudo apt install bluetooth bluez bluez-tools rfkill ``` 2. 先解除之前的绑定 ```bash sudo rfcomm release 0 ``` 3. 使用正确的通道 8 绑定 ```bash sudo rfcomm bind 0 40:FD:F3:0A:B2:DD 8 ``` 4. 验证绑定 ```bash rfcomm show 0 ``` [//]: # (【应该显示: rfcomm0: 40:FD:F3:0A:B2:DD channel 8 clean】) 5. 检查设备权限 ```bash ls -la /dev/rfcomm0 ``` [//]: # (# 应该显示: crw-rw---- 1 root dialout 216, 0 ... /dev/rfcomm0 )