ROS基础--用c++风格代码也可以运行

1.在上一篇ros功能包helloros中编辑一个cpp,命名hello.cpp,代码完全是c++,如下: #include<iostream> using namespace std; int main() {      cout<<"hello"<<endl;      cin.get();      return 0; } 2.回到根目录下catkin_make,编译无误,打开roscore
相关文章
相关标签/搜索