Home | Tutorials | Wiki | Issues
Ask Your Question
1

Problem of parallel physics Gazebo

asked 2016-10-27 19:25:46 -0600

tswcbyy gravatar image

updated 2017-09-08 04:23:12 -0600

Carlos Agüero gravatar image

We want to try the Parallel physics Gazebo, which list on the website:

http://gazebosim.org/tutorials?tut=pa...

However, we can not install this version of Gazebo successfully under the instruction in the website, and we find some problems after review the source,which list below:

  1. I download the source with the command: hg clone https://bitbucket.org/osrf/gazebo hg clone https://bitbucket.org/osrf/sdformat cd ${WS}/src/gazebo hg update diagnostics_scpeters cd ${WS}/src/sdformat hg update island_threads

  2. sdformat version: the island_threads version seems to be developed based on version sdformat-3.0.3, and the gazebo seemed to be developed on 6.0, but now the source is 7.0

but the source diagnostics_scpeters Gazebo version require to sdformat-4.1.0, which list in cmake/SearchForStuff.cmake

  1. I try to fix the problems by modified the source code, and make and make install it successfully finally, but I can run it successful.

Who can give me any advice?

edit retag flag offensive close merge delete

Comments

As you mentioned in the description, the parallel physics was developed with sdformat-3, you might want to merge sdformat-4 to the island_threads branch, or apply the diff in the island_threads to the newly checked out sdformat-4, similar to gazebo as well

Ying Lu gravatar imageYing Lu ( 2017-09-07 12:39:26 -0600 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2017-09-12 16:15:09 -0600

Hi, since many threads were talking about parallel physics and we spent some time bringing it back. Right now it has not been merged yet. But if you checkout sdformat from: https://bitbucket.org/rosebudflyaway/... (using branch island_threads) checkout gazebo from: https://bitbucket.org/rosebudflyaway/... (using branch diagnostics_scpeters)

The conflicts should be resolved. We will either update the tutorial or merge this changes to osrf repo. Let us know if this works.

edit flag offensive delete link more
0

answered 2017-09-06 06:05:31 -0600

mhallak gravatar image

I have the same problem .... Can you help me?

Now it is:

-- ----------------------------------------

-- BUILD WARNINGS -- OpenAL not found, audio support will be disabled. -- HDF5 not found -- DART not found, for dart physics engine option, please install libdart-core4-dev. -- libswscale not found. Audio-video capabilities will be disabled. -- libavformat not found. Audio-video capabilities will be disabled. -- libavcodec not found. Audio-video capabilities will be disabled. -- libavutil not found. Audio-video capabilities will be disabled. -- Player not found, gazebo plugin for player will not be built. -- libusb-1.0 not found. USB peripherals support will be disabled. -- Oculus Rift support will be disabled. -- GDAL not found, Digital elevation terrains support will be disabled. -- Graphviz not found, Model editor's schematic view will be disabled. -- END BUILD WARNINGS

-- BUILD ERRORS: These must be resolved before compiling. -- Missing: SDF version >=4.1.0. Required for reading and writing SDF files. -- Missing: Ignition math2 library. -- END BUILD ERRORS

CMake Error at CMakeLists.txt:289 (message): Errors encountered in build. Please see the BUILD ERRORS above.

-- Configuring incomplete, errors occurred! See also "/home/robil/gazebo_parallel/build_isolated/gazebo/devel/CMakeFiles/CMakeOutput.log". See also "/home/robil/gazebo_parallel/build_isolated/gazebo/devel/CMakeFiles/CMakeError.log". <== Failed to process package 'gazebo': Command '['/home/robil/gazebo_parallel/devel_isolated/sdformat/env.sh', 'cmake', '/home/robil/gazebo_parallel/src/gazebo', '-DCMAKE_INSTALL_PREFIX=/home/robil/gazebo_parallel/devel_isolated/gazebo', '-DENABLE_DIAGNOSTICS=1', '-G', 'Unix Makefiles']' returned non-zero exit status 1

Reproduce this error by running: ==> cd /home/robil/gazebo_parallel/build_isolated/gazebo && /home/robil/gazebo_parallel/devel_isolated/sdformat/env.sh cmake /home/robil/gazebo_parallel/src/gazebo -DCMAKE_INSTALL_PREFIX=/home/robil/gazebo_parallel/devel_isolated/gazebo -DENABLE_DIAGNOSTICS=1 -G 'Unix Makefiles'

edit flag offensive delete link more

Comments

hamzamerzic gravatar imagehamzamerzic ( 2017-09-07 08:30:40 -0600 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2016-10-27 19:25:46 -0600

Seen: 360 times

Last updated: Sep 12