摘要: 一、c++11多线程的创建 #include <iostream> #include<thread> //包括头文件 #include<unistd.h> using namespace std; void sayHello() { while(1) { sleep(1); cout<<endl<< 阅读全文
posted @ 2019-11-18 20:24 景景景色分明 阅读(551) 评论(0) 推荐(0)
摘要: rosdep命令的作用: 可以用来安装功能包的依赖项 rosdep的安装: sudo apt-get install python-rosdep sudo rosdep init //安装完之后需要调用一次初始化 rosdep update //然后更新:(注意不要使用sudo rosdep upd 阅读全文
posted @ 2019-11-07 08:43 景景景色分明 阅读(713) 评论(0) 推荐(1)
摘要: 1 #include<iostream> 2 using namespace std; 3 4 //product 5 class AbstractProduct{ 6 public: 7 virtual ~AbstractProduct(){} 8 virtual void Operation() 阅读全文
posted @ 2019-11-06 09:17 景景景色分明 阅读(122) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示