From 311a535bebb2442bacce6407cc8be3e69cd3d4a5 Mon Sep 17 00:00:00 2001 From: supitalp Date: Thu, 19 Sep 2019 11:12:57 +0200 Subject: [PATCH] Updated Simulating events from a video (markdown) --- Simulating-events-from-a-video.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Simulating-events-from-a-video.md b/Simulating-events-from-a-video.md index fc51d31..68adeb7 100644 --- a/Simulating-events-from-a-video.md +++ b/Simulating-events-from-a-video.md @@ -91,7 +91,10 @@ To visualize the events, you can open a new terminal, and start the `dvs_rendere rosrun dvs_renderer dvs_renderer events:=/cam0/events ``` -Then, you can play the saved rosbag: `rosbag play /tmp/out.bag`. +Then, you can play the saved rosbag, in a loop (`-l`), and slowed down 10x (`-r 0.1`): + +`rosbag play /tmp/out.bag -l -r 0.1`. + You can now visualize the simulated events by opening `rqt_image_view` (in another terminal): `rqt_image_view /dvs_rendering`. Note: you can also visualize the simulated APS frames (including motion blur) by selecting the tab `/cam0/image_corrupted` from the list at the top of `rqt_image_view`.