0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ROS2 基本コマンドまとめ

Last updated at Posted at 2024-07-30

概要

ROS2 の基本コマンドをまとめました。
順次追加予定です。

コマンド一覧

パッケージ作成

ノード

ros2 pkg create --build-type [ビルドタイプ] --node-name [ノード名] [パッケージ名]

インタフェース

ros2 pkg create [パッケージ名] --dependencies rosidl_default_generators --build-type ament_cmake

ビルドタイプを Python にしたい場合は、ament_python を使用します。

ビルド

colcon build

ros2 のパッケージのビルドには colcon を使用します。

ノードの実行

ros2 run [パッケージ名] [ノード名]
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?