Updated Simulating events from a video (markdown)

supitalp 2019-09-19 11:12:57 +02:00
parent 93ad3bc615
commit 311a535beb

@ -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 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`. 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`. 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`.