会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sshbit
博客园
首页
新随笔
联系
订阅
管理
1
2
3
下一页
2020年8月10日
ubuntu16.04安装ros 异常解决
摘要: 1、sudo apt-get update 失败 E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用) E: 无法获取 dpkg 前端锁 (/var/lib/dpkg/lock-frontend),是否有其他进程正占用它? 解决方式: l
阅读全文
posted @ 2020-08-10 22:10 youlin
阅读(437)
评论(0)
推荐(0)
2020年7月14日
cppMicroService 英文文档链接
摘要: http://docs.cppmicroservices.org/en/stable/#
阅读全文
posted @ 2020-07-14 00:06 youlin
阅读(324)
评论(0)
推荐(0)
cppMicroService 下载编译
摘要: 1、下载最新release版本release-3.4版本 https://github.com/CppMicroServices/CppMicroServices/tree/release-3.4 2、编译: (1)修改顶层CMakeLists.txt ,打开生成共享库以及编译example编译选项
阅读全文
posted @ 2020-07-14 00:02 youlin
阅读(1622)
评论(0)
推荐(0)
2020年7月3日
std::quene使用
摘要: #include <string> #include <queue> #include <stdint.h> typedef uint8_t E_CMD; typedef struct { E_CMD id; int more; Json::Value param; }S_CMD; class Cm
阅读全文
posted @ 2020-07-03 16:09 youlin
阅读(222)
评论(0)
推荐(0)
2020年7月2日
Linux测试程序交互实现
摘要: void sig_handler(int signo) { std::cout << "oops! stop!!!" << std::endl; _exit(0); } int main(int argc, char **argv) { PadSim pad_sim ; pad_sim.init(n
阅读全文
posted @ 2020-07-02 16:46 youlin
阅读(228)
评论(0)
推荐(0)
在linuxc中如何实现输入隐藏
摘要: https://blog.csdn.net/qq_35212671/article/details/53150417?utm_source=blogxgwz7
阅读全文
posted @ 2020-07-02 16:09 youlin
阅读(246)
评论(0)
推荐(0)
编译异常汇总
摘要: error: ISO C++ forbids declaration of ‘init’ with no type [-fpermissive] (1)检查 init函数是否缺乏返回值类型
阅读全文
posted @ 2020-07-02 15:19 youlin
阅读(259)
评论(0)
推荐(0)
【转载】c++私有类创建
摘要: 在类的头文件中不暴露私有变量,目的一般有两个: 1. 提供给别人的dll对应的头文件中,不希望在头文件中暴露私有变量的名称; 2. 因为私有变量的类型需要包含另一个头文件,所以不希望在头文件中包含其它头文件; 一般可以用下面的方法来隐藏私有变量。 在头文件中封装接口: TWebSocketServe
阅读全文
posted @ 2020-07-02 11:44 youlin
阅读(1316)
评论(0)
推荐(0)
2019年3月22日
在客户端模拟调用srv和topic
摘要: rostopic pub -r 10 /toipic_name Tab+Tab rosservice call /service_name Tab+Tab
阅读全文
posted @ 2019-03-22 15:30 youlin
阅读(217)
评论(0)
推荐(0)
2019年3月13日
直流电机测试标准
摘要: (1)首先设定输出两个口相同pwm,通过电压边测量左右两边电压,监测输出两边电压输出是否一致, 排除硬件电路的影响。 ①小pwm ②大pwm 两种情况下输出情况 (2)排查编码器,(1)相同下,监测一段时间内,编码器的输出是否一致,排查编码器是否异常。
阅读全文
posted @ 2019-03-13 16:54 youlin
阅读(854)
评论(0)
推荐(0)
1
2
3
下一页
公告