Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image_view2 で表示した画面をどうやってキャプチャしたら良いですか? #1712

Open
k-okada opened this issue Mar 27, 2022 · 1 comment

Comments

@k-okada
Copy link
Member

k-okada commented Mar 27, 2022

Q: image_view2 で表示した画面をどうやってキャプチャしたら良いですか?

A: image_view2の画面はimage/markedにpublish されるので,これを image_saverにつなげて,
(call-empty-service "/tweet_image_saver/save" :wait t) みたいに呼びます.
https://github.com/jsk-ros-pkg/jsk_common/blob/master/jsk_ros_patch/image_view2/README.md

あるいは,https://github.com/jsk-ros-pkg/jsk_visualization/tree/master/jsk_rviz_plugins/test を駆使してrviz中に情報を入れて,https://jsk-visualization.readthedocs.io/en/latest/jsk_rviz_plugins/plugins/video_capture.html でキャプチャできます

Cc: @yuki-asano

@yuki-asano
Copy link

ありがとうございます.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants