ubuntu16使用Qt及ros插件

安装qt

sudo add-apt-repository ppa:levi-armstrong/qt-libraries-xenial 
sudo add-apt-repository ppa:levi-armstrong/ppa 
sudo apt update && sudo apt install qt57creator 
sudo apt install qt57creator-plugin-ros

使用:

点击 new project

先建好文件夹 qt_ws

继续——>最后点击完成
创建package


这里写图片描述
添加新的节点


编译节点
test1CMakeLists.txt加上下面几行

add_executable(node1 src/node1.cpp)
target_link_libraries(node1
  ${catkin_LIBRARIES}
)


添加运行

添加节点信息

猜你喜欢

转载自blog.csdn.net/discoverhfub/article/details/80044188