Gazebo | Ignition | Community
Ask Your Question

shoemakerlevy9's profile - activity

2017-08-31 13:33:51 -0500 received badge  Famous Question (source)
2017-06-02 12:01:48 -0500 received badge  Famous Question (source)
2017-01-23 01:35:49 -0500 received badge  Notable Question (source)
2017-01-23 01:35:49 -0500 received badge  Popular Question (source)
2017-01-19 15:17:45 -0500 asked a question .sdf and .world file (correct usage)

Hi,

I have been using Gazebo for about a year now and I am still very confused about .sdf and .world files. Are they the same thing? Some of the tutorials use .world file to make a world (http://gazebosim.org/tutorials/?tut=i...) and some use an .sdf file (http://gazebosim.org/tutorials?tut=bu...) and its even called my_world.sdf, very confusing.

Am I correct in saying that the old deprecated usage would we to use a .urdf to model a robot and a .world file to model the word. And now we should just be able to use a single .sdf file?

Either way it would be nice if the tutorials were consistent with the usage of these file formats, or at least explained the proper usage.

Thanks!

2016-11-28 13:44:34 -0500 received badge  Notable Question (source)
2016-11-23 11:51:30 -0500 received badge  Popular Question (source)
2016-11-23 11:34:39 -0500 received badge  Scholar (source)
2016-11-23 11:34:34 -0500 answered a question gz log file won't run

Running the command as a super user fixed the issue

sudo gazebo -p state.log --verbose
2016-11-23 11:19:27 -0500 commented answer gz log file won't run

Following your advice about the -f flag worked and I've updated my post. When I said it did nothing I was running the command with a gazebo instance already running, it gave an error in the gazebo log file that I didn't see. Know i'm running the command without gazebo running first and am getting an error output to the terminal I ran the command in. I also added that to my post.

2016-11-23 11:10:11 -0500 received badge  Editor (source)
2016-11-23 10:17:56 -0500 asked a question gz log file won't run

Hi,

I am trying to run diagnostics on a Gazebo log file that won't play back using gazebo -p state.log. I get the error:

[FATAL] [1479922107.060392505]: A ROS node for Gazebo has not been initialized, unable to load plugin. Load the Gazebo system plugin 'libgazebo_ros_api_plugin.so' in the gazebo_ros package) [Err] [Plugin.hh:165] Failed to load plugin libgazebo_ros_gpu_laser.so: libGpuRayPlugin.so: cannot open shared object file: No such file or directory

Running dpkg -S libgazebo_ros_gpu_laser.so gives me:

ros-indigo-gazebo7-plugins: /opt/ros/indigo/lib/libgazebo_ros_gpu_laser.so

and dpkg -S libGpuRayPlugin.so gives me:

gazebo7-plugin-base: /usr/lib/x86_64-linux-gnu/gazebo-7/plugins/libGpuRayPlugin.so

I see that its suggested to run gz log -i -f state.log in order to confirm that the log file is valid. I get:

Log Version: 1.0
Gazebo Version: 7.4.0
Random Seed: 1989963430
Size: 192.607 MB
Encoding: zlib

It was also suggested that I run the command tail -1 state.log and check to see if that outputs </gazebo> which it does.

Now I'm out of ideas on what to try next.

System info:
Gazebo 7
ROS Indigo
Ubuntu 14.04