Play video in gazebo simulation.
Gazebo plugin -> Change model material every XX ms.
colcon build
source setup.bash
Python script -> Convert .mp4
video to separete frames (jpg or png) and create gazebo material files.
python3 video_converter.py
Example world with display.
- Build plugin
- Copy
video_converter.py
toexample
folder - Run
python3 video_converter.py
- Copy all content of
script.txt
intodisplay_model/display.sdf
to line 17 - Being in
example
folder run:gazebo test_world.world
For more information check README.txt
in folders.