gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.19k stars 480 forks source link

[Gazebo7] VisualPlugins are deprecated source strings #2202

Closed osrf-migration closed 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Dave Coleman (Bitbucket: Dave Coleman).


The gazebo_ros_video plugin outputs SDF deprecation warnings:

Warning [parser.cc:437] Converting a deprecated SDF source[data-string].

Using the following XML:

  <!-- Screen Display -->
  <gazebo reference="display">
    <visual>
        <plugin name="screen_video_controller" filename="libgazebo_ros_video.so">
          <height>600</height>
          <width>1024</width>
          <topicName>/robot/xdisplay</topicName>
          <robotNamespace>/robot</robotNamespace>
        </plugin>
    </visual>
  </gazebo>

I have replicated this bug with Baxter and RRBot. I then tried the non-ROS worlds/blink_visual.world example created by @chapulina and found the same warnings:

Warning [parser.cc:437] Converting a deprecated SDF source[data-string].
Warning [parser.cc:437] Converting a deprecated SDF source[data-string].
Warning [parser.cc:437] Converting a deprecated SDF source[data-string].
Warning [parser.cc:437] Converting a deprecated SDF source[data-string].
Warning [parser.cc:437] Converting a deprecated SDF source[data-string].
Warning [parser.cc:437] Converting a deprecated SDF source[data-string].

I notice that his pull request was merged into Gazebo 7 last July but the example world is not available in my Ubuntu debian install of Gazebo, as reported here. Is there a pending update of Gazebo 7 that will fix this? How can I supress this URDF/SDF warning?

Related PR in gazebo_ros_pkgs

osrf-migration commented 7 years ago

Original comment by Dave Coleman (Bitbucket: Dave Coleman).


osrf-migration commented 7 years ago

Original comment by Dave Coleman (Bitbucket: Dave Coleman).


I have confirmed this problem persists in the latest Gazebo 7 version from OSRF Debians (7.5.0)

osrf-migration commented 7 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


pull request #2646 should fix it

osrf-migration commented 7 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


osrf-migration commented 7 years ago

Original comment by Dave Coleman (Bitbucket: Dave Coleman).


Thanks @iche033!