position2d.cfg image not identified
I am trying to implement the player in the pertaining tutorial. After creating the position2d.cfg file, I run
and in another terminal
~/gazebo_position2d$ player position2d.cfg
Unfortunately, I get following error message:
Traceback (most recent call last): File "/usr/bin/player", line 98, in <module> im = Image.open(filename) File "/home/paul/.local/lib/python3.5/site-packages/PIL/Image.py", line 2452, in open % (filename if filename else fp)) OSError: cannot identify image file 'position2d.cfg'
Has anyone else experienced this problem and know a solution?
Thanks a lot.