歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux技術 >> ROS_Kinetic_21 使用Qt Creator Plug in即ros_qtc_plugin

ROS_Kinetic_21 使用Qt Creator Plug in即ros_qtc_plugin

日期:2017/3/3 11:04:07   编辑:Linux技術
更為詳細版本請參考:
/content/11134083.html

結合看更為具體。
首先,先上原版參考:
1 http://wiki.ros.org/IDEs
2 https://github.com/ros-industrial/ros_qtc_plugin
3 http://www.ros.org/news/2016/07/qt-creator-ide-plug-in-for-ros.html
配置步驟主要分為三步:
1 https://github.com/ros-industrial/ros_qtc_plugin/wiki/1.-Setup-ROS-Qt-Creator-Plug-in
2 https://github.com/ros-industrial/ros_qtc_plugin/wiki/2.-Setup-Qt-Creator-for-ROS
3 https://github.com/ros-industrial/ros_qtc_plugin/wiki/3.-Debugging-Catkin-Workspace
可能還需要用到的:
1 https://github.com/lxde/qtermwidget
配置ROS Qt Creator Plug in簡單流程
1 下載並安裝Qt,這個在ubuntu14.04和16.04一致,可以參考ROS中使用Qt。
2 配置系統使用Qt(重要),其實也就兩步,先在終端輸入:
~$ sudo gedit /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf

然後,在其中增加或修改為你當前的Qt環境:
/home/exbot/Rob_Soft/Qt/5.6/gcc_64/bin
/home/exbot/Rob_Soft/Qt/5.6/gcc_64/lib

模板是:
/home/<username>/Qt/<version>/gcc_64/bin
/home/<username>/Qt/<version>/gcc_64/lib

直接對照就行。
3 運行ROS Qt Creator Plug in安裝腳本
第一種是用戶模式,直接下載這個文件setup.sh(右鍵另存),然後在終端運行
~$ bash setup.sh -u
第二種是開發者模式,下載功能包,然後運行其中的setup.sh,如下
~$ bash setup.sh -d
功能包地址:https://github.com/ros-industrial/ros_qtc_plugin
這裡注意-u是用戶,-d是開發者,分別為user和developer的意思。
然後祈禱不要出錯,配置過程非常漫長,耐心是必備的。
4 其他細節在參考網址中都有具體介紹。完畢後在終端輸入
~$ qtcreator
可見如下圖(Ctrl+N):

其他配置參考官網,indigo同樣配置可行。
Copyright © Linux教程網 All Rights Reserved