Thursday, April 2, 2009

Hi!

Hi all, I do want to be working on Player/Stage, installing it was really hard and now I would want to test it.

About installing it... somehow, like 15 min later after the installation my Ubuntu died with no reason, so I decided to install OpenSuse, and already installed player and stage, but I had to add some variables... but stilll I got one problem. When trying to run the test.cfg, got this problem:

Stage driver creating 3 devices
/usr/local/share/stage/worlds/test.cfg:19 error: unknown interface: [position]
error : Initialization failed for driver "stage"
error : failed to parse config file /usr/local/share/stage/worlds/test.cfg driver blocks

That "stage" driver is the name that is given inside the test.cfg but i don't know why it's making that error occurs.

Hope someone could help with this, maybe i missed some variable, or something else

Regards

4 comments:

  1. Hi Luis,

    Nice to hear from you.

    Can you let me know the content of the line number 19 of the file test.cfg?

    Also, if you want to test the Stage I recommend you to try with the command:

    #player $STAGE_PATH/worlds/simple.cfg

    Regards,

    Renato.

    ReplyDelete
  2. Hi Renato, the line 18 and 19 content is:
    driver( name "stage" provides ["6665:position:0" "6665:laser:0" "6665:sonar:0" ] model "robot01" )

    driver( name "stage" provides ["6666:position:0" "6666:laser:0" "6666:sonar:0" ] model "robot02" )

    What I use to test Stage is that command only that I use the absolute path instead of using the $STAGE_PATH variable, but I think I would be getting the same results, but I will try it.

    Thanks

    ReplyDelete
  3. Hi Luis,

    I would like to know if for "position" you mean the odometry of the robot. In this case you should look for the correct syntax for the latest version available.

    In this case I think you might refer to a "position2d" interface. I recommend you to find out the interfaces and drivers available for the Player version that you installed.

    Then you will get an idea of all the possibilities you might have for creating a CFG file.

    Please let me know if you could fix this and how are you doing.

    Kind regards,

    Renato.

    ReplyDelete
  4. Hi again Renato, sorry for not posting in a while, but I checked and the problem was exactly as you said, it was the interface name what was wrong, I changed "position" for "position2d" and everything worked as planned.

    Thanks

    ReplyDelete