Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
2
Help us understand the problem. What is going on with this article?
@k-koh

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

More than 1 year has passed since last update.

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

2
Help us understand the problem. What is going on with this article?
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
k-koh
自律移動ロボティクス開発を行っています。
sensyn-robotics
ドローンをはじめとするセンシンのロボティクス技術で「社会をデジタル化し課題解決する」

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
2
Help us understand the problem. What is going on with this article?