Problem of parallel physics Gazebo
We want to try the Parallel physics Gazebo, which list on the website:
http://gazebosim.org/tutorials?tut=parallel&cat=physics
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:
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 diagnosticsscpeters cd ${WS}/src/sdformat hg update islandthreads
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
- 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?
Asked by tswcbyy on 2016-10-27 19:25:46 UTC
Answers
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'
Asked by mhallak on 2017-09-06 06:05:31 UTC
Comments
You might want to check out this thread: http://answers.gazebosim.org/question/16200/ros-indigo-with-parallel-physics/
Asked by hamzamerzic on 2017-09-07 08:30:40 UTC
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.
Asked by Ying Lu on 2017-09-12 16:15:09 UTC
Comments
Hi, I have tried to compile sdformat using island_threads branch, but I get a build error
Missing: Ignition math3 library.
Unfortunately in Ubunut 18.04 i can only find libignition-math2 and libignition-math4, 5 6 in the repositories. Any idea where I cant get math3 from?
BR
Asked by Eisenhorn on 2019-05-02 12:08:13 UTC
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
Asked by Ying Lu on 2017-09-07 12:39:26 UTC