Robotics StackExchange | Archived questions

position2d.cfg image not identified

Hi,

I am trying to implement the player in the pertaining tutorial. After creating the position2d.cfg file, I run

  gazebo worlds/pioneer2dx.world

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.

Asked by paulrusu on 2017-04-13 07:00:39 UTC

Comments

what's the result of which player , please

Asked by eugene-katsevman on 2017-04-13 10:09:05 UTC

/usr/bin/player

Asked by paulrusu on 2017-04-13 18:06:19 UTC

Answers

/usr/bin/player happens to be a PIL or Pillow animated image player and not the intended player as in player/stage. A mere name conflict. May be you'd better contact player developers here : https://github.com/rtv/Stage

Asked by eugene-katsevman on 2017-04-13 19:16:10 UTC

Comments