Problem while launching envi in gazebo

asked 2020-02-20 10:10:40 -0600

dhaour9x gravatar image

I get an error while trying to run the following command roslaunch mybot_gazebo büro.launch

    <?xml version="1.0"?>
<launch>
<!-- We resume the logic in empty_world.launch, changing only the name of the world to be launched -->
 <include file="$(find gazebo_ros)/launch/empty_world.launch">
    <arg name="world_name" value="$(find mybot_gazebo)/src/worlds/world_1.world"/>
    <!-- more default parameters can be changed here -->
  </include>
<param name="robot_description" command="xacro --inorder '$(find mybot_descriptions)/src/urdf/turtlebot3_nano_urdf.xacro'" />

<!-- Spawn a robot into Gazebo -->
<node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-param robot_description -urdf -model turtlebot3_nano" />
</launch>

This is what I get in the terminal window:

fsd@ubuntu:~$ roslaunch mybot_gazebo büro.launch 
... logging to /home/fsd/.ros/log/fa739096-5358-11ea-83e5-000c29ac3d84/roslaunch-ubuntu-27683.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://localhost:43567/

SUMMARY
========

PARAMETERS
 * /robot_description: <?xml version="1....
 * /rosdistro: kinetic
 * /rosversion: 1.12.14
 * /use_sim_time: True

NODES
  /
    gazebo (gazebo_ros/gzserver)
    gazebo_gui (gazebo_ros/gzclient)
    spawn_urdf (gazebo_ros/spawn_model)

ROS_MASTER_URI=http://localhost:11311

process[gazebo-1]: started with pid [27704]
process[gazebo_gui-2]: started with pid [27709]
process[spawn_urdf-3]: started with pid [27714]
[ INFO] [1582145234.633496392]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1582145234.640886000]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1582145234.660926474]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1582145234.662592343]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1582145234.933423577, 162.147000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1582145234.974994371, 162.179000000]: Physics dynamic reconfigure ready.
[spawn_urdf-3] process has finished cleanly
log file: /home/fsd/.ros/log/fa739096-5358-11ea-83e5-000c29ac3d84/spawn_urdf-3*.log
[ INFO] [1582145235.582623332, 162.271000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1582145235.629225497, 162.317000000]: Physics dynamic reconfigure ready.
gzserver: /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreRenderSystem.cpp:546: virtual void Ogre::RenderSystem::setDepthBufferFor(Ogre::RenderTarget*): Assertion `bAttached && "A new DepthBuffer for a RenderTarget was created, but after creation" "it says it's incompatible with that RT"' failed.
Aborted (core dumped)
[gazebo-1] process has died [pid 27704, exit code 134, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode /home/fsd/turtlebot_ws/src/mybot_gazebo/src/worlds/world_1.world __name:=gazebo __log:=/home/fsd/.ros/log/fa739096-5358-11ea-83e5-000c29ac3d84/gazebo-1.log].
log file: /home/fsd/.ros/log/fa739096-5358-11ea-83e5-000c29ac3d84/gazebo-1*.log

any suggestions to solve this error. Thank you :)

edit retag flag offensive close merge delete

Comments

What is the output of glxinfo | grep 'server glx vendor' ?

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2020-02-24 17:20:15 -0600 )edit

this is the outpu of :glxinfo | grep 'server glx vendor'

server glx vendor string: SGI

dhaour9x gravatar imagedhaour9x ( 2020-02-27 08:52:19 -0600 )edit

I'm afraid that you are not running hardware acceleration and that is probably the reason of the fail.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2020-03-12 11:31:25 -0600 )edit