GithubHelp home page GithubHelp logo

Comments (9)

samuelsont avatar samuelsont commented on August 15, 2024

Obviously, the unfortunate consequence is that none of the simulations in the readme work out of the box since all the robot configurations use the demo.world as the default world file.

You could get around the limitation by specifying a different world using one of the world:= or world_file:= options. Note that the world option expects a relative path to $(find rbvogui_gazebo) i.e., the rbvogui_gazebo package root, while the world_file option requires an absolute path to the world file. (See examples below)

  • using world option
    roslaunch rbvogui_sim_bringup rbvogui_complete.launch robot_model:=rbvogui world:=worlds/willow_garage.world

  • using world_file option
    roslaunch rbvogui_sim_bringup rbvogui_complete.launch robot_model:=rbvogui world_file:=$(rospack find mobile_manipulator)/worlds/postoffice.world

from rbvogui_sim.

robert-ros avatar robert-ros commented on August 15, 2024

Hi Samuel!

I have tested the melodic-devel branch on a virtual machine with a fresh Ubuntu and ROS installation and it worked.

Could you give us more information? Gazebo version, the entire log of error, etc.

What is the output if you launch gazebo with verbose option?

gazebo --verbose demo.world

from rbvogui_sim.

samuelsont avatar samuelsont commented on August 15, 2024

Update

It seems the problem is linked to the dedicated Nvidia GPU somehow. After turning it off, the simulations work out of the box with the default demo.world

Why do other world files work well with the gpu while the default world does not?

from rbvogui_sim.

robert-ros avatar robert-ros commented on August 15, 2024

I just tested it on docker container and it seems that the demo.world crashes Gazebo. However, on my machine (Ubuntu with Nvidia GPU enabled) works without problems.

The demo.world was created using the Bulding Editor of Gazebo, so this world should be compatible with Gazebo.

from rbvogui_sim.

samuelsont avatar samuelsont commented on August 15, 2024

Hi! Could you please let me know what GPU and driver version you have?

My GPU is an Nvidia RTX 2070 Super with nvidia-driver version 510.47.03. Nvidia Prime is not supported.

The following is the result of running gazebo --verbose demo.world with the GPU enabled.

~/catkin_ws/src/rbvogui_sim/rbvogui_gazebo/worlds$ gazebo --verbose demo.world
Gazebo multi-robot simulator, version 9.0.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

Gazebo multi-robot simulator, version 9.0.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 10.31.9.229
[Msg] Publicized address: 10.31.9.229
[Wrn] [Event.cc:61] Warning: Deleting a connection right after creation. Make sure to save the ConnectionPtr from a Connect call
escalating to SIGKILL on server

from rbvogui_sim.

robert-ros avatar robert-ros commented on August 15, 2024

Hi! My GPU is a GeForce GTX 1650 Ti with Max-Q Design with nvidia-driver version 460.91.03

It seems that this issue is related to #4 For some reason Gazebo crashes when you have the following conditions:

  • Gabezo version 9.0.0.
  • GPU enabled
  • A gazebo world with orthographic projection by default.

Therefore, there are two possible solutions:

  1. Update Gazebo to the upper version (9.19.0)
  2. Change the orthographic perspective with orbit perspective

I have just tested with a docker image and I could replicate the issue. @samuelsont could you test the second solution? In demo.world change the lines 2869 and 2870 with:

<view_controller>orbit</view_controller>
<projection_type>perspective</projection_type>

from rbvogui_sim.

samuelsont avatar samuelsont commented on August 15, 2024

Second solution works!

Thanks @robert-ros for the fix. After changing the lines in the demo.world file, gazebo was able to load up the world properly.
I also tested the simulations and they work fine, too.

At the moment, I am unable to test and verify that updating Gazebo actually fixes the issue. I'd rather not break something else by updating Gazebo. If ever I test the other comment, I will make sure to update here. Thanks, again.

from rbvogui_sim.

robert-ros avatar robert-ros commented on August 15, 2024

@samuelsont I'm glad to hear that! I added the changes in the last commits. Therefore if somebody updates the repository, the simulation should work. I close the issue.

from rbvogui_sim.

shmm91 avatar shmm91 commented on August 15, 2024

Thanks for your great work!
vineyard.world load failed, can't find the model.
[Err] [MeshShape.cc:60] No mesh specified
[Wrn] [FuelModelDatabase.cc:248] URI not supported by Fuel [model://vineyard0/meshes/Grape0_low.dae]
[Wrn] [SystemPaths.cc:464] File or path does not exist [""] [model://vineyard0/meshes/Grape0_low.dae]

from rbvogui_sim.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.