Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

gazebo-1.4 with player - errors

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

gazebo-1.4 with player example - errors

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