Home | Tutorials | Wiki | Issues
Ask Your Question
2

gazebo-1.4 with player example - errors

asked 2013-03-05 07:20:24 -0500

logicalguy gravatar image

updated 2013-03-05 07:36:57 -0500

Hi,

I'm trying to get player to work with gazebo to control a pioneer robot. I used the example provided with gazebo-1.4 in the examples/player/position2d folder. Here are the problems I encountered:

  1. The .world was in the old sdf format, so I tried using gzsdf to convert it. gzsdf failed because the filename did not end with .sdf. So after the renaming the world file, it worked.

  2. Player was able to connect to gazebo and playerv opened its window, but when I tried to subscribe to position2d it gave the following error:

    GazeboDriver::GazeboDriver

    Gazebo Plugin driver creating 1 device

    6665.4.0 is  a position2d interface.
    

    Listening on ports: 6665

    accepted TCP client 0 on port 6665, fd 13

    libprotobuf ERROR google/protobuf/wire_format.cc:1059] Encountered string containing invalid UTF-8 data while parsing protocol buffer. Strings must contain only UTF-8; use the 'bytes' type for raw bytes.

    libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "gazebo.msgs.Pose" because it is missing required fields: position, orientation

    closing TCP connection to client 0 on port 6665

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-03-06 17:29:22 -0500

nkoenig gravatar image
edit flag offensive delete link more

Comments

1

Hi, I installed from mercurial today and ran the test again. It works - I can control the robot using player, but I still get error messages such as:

libprotobuf ERROR google/protobuf/messagelite.cc:123] Can't parse message of type "gazebo.msgs.Pose" because it is missing required fields: position, orientation libprotobuf ERROR google/protobuf/wireformat.cc:1059] Encountered string containing invalid UTF-8 data while parsing protocol buffer. Strings must contain only UTF-8; use the 'bytes'

logicalguy gravatar imagelogicalguy ( 2013-03-08 09:55:57 -0500 )edit
1

answered 2014-12-04 15:36:15 -0500

rmattes gravatar image

The Player interface in gazebo is out of date, you may have luck with the fixes in https://bitbucket.org/osrf/gazebo/pul...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-03-05 07:20:24 -0500

Seen: 496 times

Last updated: Dec 04 '14