ahq1993 / MPNet

Motion Planning Networks
MIT License
216 stars 49 forks source link

MPNet installation problem (libbot2) #18

Open Guri-cccc opened 3 years ago

Guri-cccc commented 3 years ago

Hello! I am trying to build this package in Ubuntu 18.04.

As written in the instructions in README, I installed the dependencies including libbot2. However, when I successfully built libbot2 and I tried

$ make

in /MPNet/data_generations folder, error message as bellow came up.

-- No package 'bot2-vis' found CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:419 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:597 (_pkg_check_modules_internal) CMakeLists.txt:17 (pkg_check_modules)

I installed libbot with

$ sudo make BUILD_PREFIX=/usr/local

Is there any solution to this problem?

Thank you in advance!!

scploeger commented 3 years ago

Did you call $ make from within the source directory? According to this, maybe you can try $ sudo make BUILD_PREFIX=/usr/local instead? Good luck

Additionally, after resolving this issue, if you are able to get neuralplanner.py going please let me know. When I run it it takes over 10 minutes to complete which seems very excessive, especially when I should be expecting speeds suitable for real time performance!

Guri-cccc commented 3 years ago

Did you call $ make from within the source directory? According to this, maybe you can try $ sudo make BUILD_PREFIX=/usr/local instead? Good luck

Additionally, after resolving this issue, if you are able to get neuralplanner.py going please let me know. When I run it it takes over 10 minutes to complete which seems very excessive, especially when I should be expecting speeds suitable for real time performance!

Thank you for your comment!

However, I installed libbot2 with command "$ sudo make BUILD_PREFIX=/usr/local" and it was successfully installed (I think). However, when I tried "$ make" in /MPNet/data_generations/ there was error that 'bot2-vis' could not be found.

Is there any other installation instruction after '$ sudo make BUILD_PREFIX=/usr/local' for libbot2?

Also, as you were able to run the code, did you trained your own data? or did you used the pre-trained model? Because I was not able to find the pre-trained model.

I will let you know if I succeed in running the code. I need this for real time use too!

Guri-cccc commented 3 years ago

Did you call $ make from within the source directory? According to this, maybe you can try $ sudo make BUILD_PREFIX=/usr/local instead? Good luck Additionally, after resolving this issue, if you are able to get neuralplanner.py going please let me know. When I run it it takes over 10 minutes to complete which seems very excessive, especially when I should be expecting speeds suitable for real time performance!

Thank you for your comment!

However, I installed libbot2 with command "$ sudo make BUILD_PREFIX=/usr/local" and it was successfully installed (I think). However, when I tried "$ make" in /MPNet/data_generations/ there was error that 'bot2-vis' could not be found.

Is there any other installation instruction after '$ sudo make BUILD_PREFIX=/usr/local' for libbot2?

Also, as you were able to run the code, did you trained your own data? or did you used the pre-trained model? Because I was not able to find the pre-trained model.

I will let you know if I succeed in running the code. I need this for real time use too!

I solved this problem by running command

"$ make clean" and "$ sudo make BUILD_PREFIX=/usr/local"

in '~/libbot2/' folder

I guess it was already built in source directory after I ran "$ make". So needed to run "$ make clean" to build to my system.

scploeger commented 3 years ago

awesome to hear, keep me posted!