s曲线

S曲线经常用于步进电机的加减速。具体的计算公式需要经过一定的转换才能称为程序能用的。

centos 7 打开端口

查看防火墙状态 systemctl status firewalld 或者 firewall-cmd --state 临时关闭防火墙测试是否是端口问题 systemctl stop firewalld 3. 开启防火墙 systemctl start firewalld 4. 增...

v2??? 替换协议

输入 v2??? 命令,选择修改 v2??? 配置, 然后选择修改传输协议, 可以选择 mKcp_wechat-video 。然后重新生成 vmess,放入客户端使用。

v2??? 重启失败

v2??? 重启失败, 提示 Authorization not available. Check if polkit service is running or see debug message for more information. 2. 检查 message vi /var...

qt 中使用 c 语言文件

qt 中直接使用 c 语言文件,c 文件可以直接包含,h 文件包含的时候,需要在 c++ 中添加额外信息,如下: #ifdef __cplusplus extern "C" { #include "c头文件.h" #endif #ifdef __cplusplus } #endif

qt 中图表 QtCharts 的使用

1. 概念: 坐标轴-QAbstractAxis: 图表中,一般都有 X、Y 坐标轴,复杂一些的还带有 Z 轴。对应到 Qt 的图表也有 X、Y 轴对象。但是今天,我们先不展开介绍。如果我们不创建轴坐标对应的对象,可以使用 Qt 的默认轴对象。后面我们会介绍用法。 系列-QAbstractSe...

qt 程序发布打包

1. 首先把 release 版本的 exe 复制到其他文件夹,比如 Desktop\test 2. 使用开始菜单中 qt 里面的控制台窗口,使用 cd 命令打开到 Desktop\test 位置,然后使用打包命令: windeployqt test.exe 然后 qt 会自动把依赖复制到 D...

qt 字符串 转换 hex

1. qt 中两个字符的字符串直接转换为 hex,类似于 ”1A" 要转换成 16进制的 0x1A,使用 int QString::toInt(bool *ok, int base)。具体如下: QString str = "0x1A"; int value = str.toInt...

stm32cube 安装 patch

首先正常安装芯片包,然后在设置里面找到当前包存放的位置,默认是: C:\Users\Administrator\STM32Cube\Repository 然后解压 更新包,把更新包里面的文件覆盖到 C:\Users\Administrator\STM32Cube\Repository 这个里面...