Apologies for this long winded question. I recently tried to download the sim with OMPL integrated in it. I tried to test it out by running non_holonomic_path_planning.ttt which was located in simOMPL/examples. I got these errors instead:
Code: Select all
[RemoteApi:loadinfo] starting a remote API server on port 19997
[sandboxScript:info] Simulator launched, welcome!
[simCmd:warning] Sandbox language: Python
[CoppeliaSim:info] Scene: /home/antonio/MP_final_project/CoppeliaSim/simOMPL/examples/non_holonomic_path_planning.ttt
Serialization version is 25.
File was previously written with CoppeliaSim version 4.06.00 (rev 6)
[CoppeliaSim:info] Scene opened.
[sandboxScript:info] Simulation started.
[/OMPL@childScript:warning] module 'sim' was implicitly loaded.
[/OMPL@childScript:warning] module 'simUI' was implicitly loaded.
[/OMPL@childScript:error] plugin simOMPL: Cannot load library /home/antonio/MP_final_project/CoppeliaSim/libsimOMPL.so: (libompl.so.16: cannot open shared object file: No such file or directory)
[/OMPL@childScript:error] /home/antonio/MP_final_project/CoppeliaSim/lua/simOMPL.lua:7: attempt to index a nil value (local 'simOMPL')
stack traceback:
/home/antonio/MP_final_project/CoppeliaSim/lua/simOMPL.lua:7: in main chunk
[C]: in field 'require'
/home/antonio/MP_final_project/CoppeliaSim/lua/base.lua:91: in function 'require'
/home/antonio/MP_final_project/CoppeliaSim/lua/base.lua:352: in metamethod '__index'
[string "/OMPL@childScript"]:47: in function 'task'
[string "/OMPL@childScript"]:33: in function 'coroutineMain'
stack traceback:
[C]: in function 'error'
[string "/OMPL@childScript"]:9: in function 'sysCall_actuation'
I extracted, downloaded, and relocated the CoppeliaSim folder. I renamed it to CoppeliaSim.
I executed the following in the terminal:
Code: Select all
sudo apt-get update
sudo apt-get install xsltproc
python3 -m pip install xmlschema
Code: Select all
git clone https://github.com/CoppeliaRobotics/simOMPL.git
cd simOMPL
git checkout coppeliasim-v4.6.0-rev6
mkdir -p build && cd build
Code: Select all
set(CMAKE_MODULE_PATH "~/MP_final_project/CoppeliaSim/programming/include/cmake")
set(CMAKE_PREFIX_PATH "~/MP_final_project")
Code: Select all
set(Python3_ROOT_DIR "/usr/bin")
Code: Select all
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
cmake --install .
Code: Select all
python3 -m pip install pyzmq cbor2
Again sorry for the long winded question, but I wanted to be as detailed as possible so that it would be easier to identify if I did anything wrong.
Thank You,
Antonio S