Closed YuTingLiu closed 4 years ago
Hi @YuTingLiu Does the launch file work when you run it without your modification (without adding the camera)? I would suggest to debug the way you add the camera since the problem might come from this modification. You might take a look at this page to get some info about adding sensors: http://gazebosim.org/tutorials?tut=ros_gzplugins
@foehnph It works fine without camera, only if I want to image_view the raw data...
I would recommend to try the linked tutorial: http://gazebosim.org/tutorials?tut=ros_gzplugins
could you ever solve the problem? can we close the issue?
This error is occurring when we are using VMWare. @foehnph , have you encountered this problem? Is there any fix ?
@shivamsardana well, we can not reproduce the problem since it works over here. did you also try to add a camera? is the standard configuration working?
Same problem here, trying to integrate ros camera.
UD16.04 xenial, VMWare_12Player(accel_3d enabled), Gazebo7, ros-kinetic, export SVGA_VGPU10=0.
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-3] process has died
[WORKED] In UD18.04 bionic & Gazebo9 & ros-melodic]
@shivamsardana well, we can not reproduce the problem since it works over here. did you also try to add a camera? is the standard configuration working?
Yes, it's working. Gazebo 7 has issue on VMWare. i installed Gazebo 8 with ROS Kinetic. It is working.
I've gone through the same problem.
The gazebo version that comes with ROS Kinetic
is 7.0.0
. I found at https://bitbucket.org/osrf/gazebo/issues/1837/vmware-rendering-z-ordering-appears-random that this problem is solved in gazebo 7.4.0
.
If we just upgrade gazebo (as of today, 2019-06-07), the new version will be 7.15.0
and the problem will be gone.
To install 7.15.0
, I just followed http://gazebosim.org/tutorials?cat=install&tut=install_ubuntu&ver=7.0
and I didn't have this problem anymore.
The commands I used in ROS Kinetic, Ubuntu 16.04 are:
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install gazebo7 -y
rubenanapu yanıtı işe yaradı çok teşekkürler=> https://github.com/uzh-rpg/rpg_quadrotor_control/issues/58#issuecomment-499814392
The commands I used in ROS Kinetic, Ubuntu 16.04 are:
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - sudo apt-get update sudo apt-get install gazebo7 -y
Thanks @rubenanapu, I had the same problem using virtual machine with VirtualBox. Your solution works.
I've gone through the same problem.
The gazebo version that comes with
ROS Kinetic
is7.0.0
. I found at https://bitbucket.org/osrf/gazebo/issues/1837/vmware-rendering-z-ordering-appears-random that this problem is solved in gazebo7.4.0
.If we just upgrade gazebo (as of today, 2019-06-07), the new version will be
7.15.0
and the problem will be gone.To install
7.15.0
, I just followed http://gazebosim.org/tutorials?cat=install&tut=install_ubuntu&ver=7.0 and I didn't have this problem anymore.The commands I used in ROS Kinetic, Ubuntu 16.04 are:
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - sudo apt-get update sudo apt-get install gazebo7 -y
Very useful!! It does work, thx!!!
Thanks, closed
I've gone through the same problem.
The gazebo version that comes with
ROS Kinetic
is7.0.0
. I found at https://bitbucket.org/osrf/gazebo/issues/1837/vmware-rendering-z-ordering-appears-random that this problem is solved in gazebo7.4.0
.If we just upgrade gazebo (as of today, 2019-06-07), the new version will be
7.15.0
and the problem will be gone.To install
7.15.0
, I just followed http://gazebosim.org/tutorials?cat=install&tut=install_ubuntu&ver=7.0 and I didn't have this problem anymore.The commands I used in ROS Kinetic, Ubuntu 16.04 are:
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add - sudo apt-get update sudo apt-get install gazebo7 -y
You deserve a ROSCAR 🏆
Super helpful. Fixed my Gazebo camera problem :) - Ubuntu 16.04 ROS Kinetic in VirtualBox 6
I run my ros environment in docker. this is file I modified for cam simulation , I start this lanuch by "roslaunch rpg_rotors_interface quadrotor_empty_world_lyt.launch" . everything works fine, but when I want to see some images. command is "rosrun image_view image_view image:=/hummingbircamera_nadir/image_raw". the gazebo crushed.
I tried to add "export SVGA_VGPU10=0 to .bashrc file. seem doesn't work. what should I do, have anyone has this problem? how to fix it, thx.