Help us understand the problem. What is going on with this article?

Ubuntu 18.04 に ROS2 のIDE開発環境構築 ROS Qt Creator Plug-in

ROS2 のIDE開発環境構築 ROS Qt Creator Plug-inの設定を纏めます。

Qt Creatorのインストール

  1. QTの左メニュー「Qt Creator」リンクより最新版(現在:4.10.0)をダウロード
$ chmod 755 qt-creator-opensource-linux-x86_64-4.10.0.run
$ ./qt-creator-opensource-linux-x86_64-4.10.0.run

ROS Plug-inのインストール

  1. ROS Qt Creator Plug-inリンクより最新版をダウロード
$ chmod 755 qtcreator-ros-bionic-latest-online-installer.run
$ ./qtcreator-ros-bionic-latest-online-installer.run

image.png

image.png

ROS Plug-inの設定

Debug許可

$ sudo gedit /etc/sysctl.d/10-ptrace.conf
change kernel.yama.ptrace_scope to 0
$ sudo systemctl restart procps.service

Syntax Color Schemes設定

Tools > Options > Text Editor > Font & Colors
Monokai(1)を選択

ROS Code Format設定

Tools > Options > C++ > code style
ROSを選択

ROS 設定

オプション > ROS
Set Build System to Colcon
image.png

Import a ROS Workspace

New Project > Other Projects > ROS Workspace
image.png

Set Build System to colcon for ros2
image.png

image.png

ビルド設定

プロジェクト > Build & Run > Build
image.png

プロジェクト > Build & Run > Run
image.png

k-koh
非GPSのドローン自律飛行を開発しています。
sensyn-robotics
「ドローンによる業務の完全自動化」を実現し社会課題を抜本的に解決
https://www.sensyn-robotics.com/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした