摘要: cpp code: // 配置服务器信息struct lws_context_creation_info info;memset(&info, 0, sizeof(info)); info.port = m_port; info.protocols = m_protocols; info.gid = 阅读全文
posted @ 2025-08-20 19:01 hbg-rohens 阅读(7) 评论(0) 推荐(0)
摘要: ‌cpp-websocket‌:这是一个C++编写的WebSocket库,提供了简单易用的API,支持WebSocket握手、消息传输和关闭连接等功能。cpp-websocket的代码量相对较小,易于集成到项目中‌。 ‌asio_websocket‌:基于Boost.Asio库的一个C++ WebS 阅读全文
posted @ 2025-08-18 17:51 hbg-rohens 阅读(277) 评论(0) 推荐(0)
摘要: 步骤 1:克隆 OpenCV 仓库首先克隆 OpenCV 的官方 Git 仓库,然后切换到 4.8.0 版本的标签(tag)。 # 克隆 OpenCV 主仓库(如果需要 contrib 扩展模块,见步骤 2)git clone https://github.com/opencv/opencv.git 阅读全文
posted @ 2025-08-15 11:34 hbg-rohens 阅读(40) 评论(0) 推荐(0)
摘要: 若已安装工具但模块未自动加载,手动加载 # 尝试加载 vmhgfs 模块 sudo modprobe vmhgfs # 检查是否加载成功(有输出则表示成功) lsmod | grep vmhgfs 若加载失败并提示 modprobe: FATAL: Module vmhgfs not found,说 阅读全文
posted @ 2025-08-11 19:16 hbg-rohens 阅读(73) 评论(0) 推荐(0)
摘要: Mcu Printer::connect send_event("klippy:mcu_identify") 1) Probe 2) mcu SerialReader::connect_uart(有波特率情况) 3) temperature 4) tmc SerialReader::connect_ 阅读全文
posted @ 2025-05-21 09:58 hbg-rohens 阅读(63) 评论(0) 推荐(0)
摘要: 热床调平 https://github.com/protoloft/klipper_z_calibration https://github.com/jlas1/Klicky-Probe 阅读全文
posted @ 2025-04-21 10:08 hbg-rohens 阅读(19) 评论(0) 推荐(0)
摘要: google test (简称gtest) 是 google 开发的一个 c++单元测试框架,它能帮助开发者编写可移植、可维护的单元测试代码。 1、安装gtest # 克隆仓库 git clone https://github.com/google/googletest.git cd googlet 阅读全文
posted @ 2025-04-17 18:00 hbg-rohens 阅读(119) 评论(0) 推荐(0)
摘要: moonraker 官网中关于file manage的参数解释如下: # moonraker.confqueue_gcode_uploads: False# When set to True the file manager will add uploads to the job_queue whe 阅读全文
posted @ 2025-04-07 11:13 hbg-rohens 阅读(96) 评论(0) 推荐(0)
摘要: 1、filament_switch_sensor 细丝开关传感器 用于监测打印材料细丝的余量情况。当细丝快用完时,传感器检测到相应状态变化并反馈给 3D 打印机的控制系统,控制系统就可以暂停打印,提示用户更换新的细丝材料,避免打印过程中因材料耗尽而导致打印失败。而且,还能检测细丝是否顺畅输送,如果出 阅读全文
posted @ 2025-03-29 09:58 hbg-rohens 阅读(28) 评论(0) 推荐(0)
摘要: 1、3D打印开发相关网站 1)klipper https://www.klipper3d.org/ 2) marlin https://marlinfw.org/ 3) moonraker https://moonraker.readthedocs.io/en/latest/ 4) kiauh ht 阅读全文
posted @ 2025-03-24 17:21 hbg-rohens 阅读(122) 评论(0) 推荐(0)