ROS基礎--創建HelloRos程序

1.在src目錄下打開終端,創建一個名爲helloros的功能包 catkin_create_pkg helloros std_msgs rospy roscpp 2.創建完成後進入到src文件夾下,新建一個空白文檔,命名爲hello.cpp,並編輯代碼: #include<ros/ros.h> int main(int argc,char **argv) {      ros::init(arg
相關文章
相關標籤/搜索