1
2

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.

Rvizのシーンを画像topicとして流す

Last updated at Posted at 2022-08-12

「ブラウザなどにrvizの映像を映したい」みたいなことがたまにあります.そういう時一度rvisの映像を画像として流してあげるのですが、rvisの映像を画像のtopicとして流すところを自分で作成するのは中々難しそうです.

そんなときに便利なのがjsk_rviz_pluginsRvizScenePublisherです.

ここでは,RvizScenePublisherの使い方を紹介します.

まず以下のようにパッケージをインストール

sudo apt install ros-noetic-jsk-rviz-plugins

その後rvizを開きRvizScenePublisherdisplay typeを追加するだけです.その後はrviz/sceneというトピック名で映像が流れます.

Peek 2022-08-12 12-51.gif

凄い簡単.

ちなみにrvizの内部に仮想カメラを配置するといったパッケージもあるので良かったら試してみてください.

1
2
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
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?