3
3

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.

確実にGazeboを殺す方法

Posted at

概要

ROS/ROS2でGazebo を使っていて、Ctrl + C を押してもうまく終了してくれないときがある

確実にすっきりGazeboを終了させる方法のメモ

1. Ctrl + \ で終了させる

Ctrl + C の代わりにターミナル上でコントロールキーとバックスラッシュキーを同時に押してプロセスを終了する
これが最も簡単

2. kill コマンドで終了

Gazebo のプロセスである「gzserver」と「gzclient」をkill コマンドで直接終了する

killall -9 gzserver gzclient

3. ROS のコマンドで終了

ROS1 のみ

rosnode kill /gazebo
3
3
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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?