New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warehouse plugin without custom third-party package #123
Comments
This resolved part of the issue: #75 I still believe we need a warehouse plugin that relies on a database-client that works out-of-the-box on debian and standard Linux distributions. |
During WMD, @alexhenning started on an SQLlite-based database client -- which should be readily available on all platforms. Unfortunately he ran out of time to finish it, we're going to continue and find a time to wrap that up (but I'm not sure exactly when) |
I should also mention, I ran out of time to actually get the mongo plugin mentioned above tested/ported, as it took longer than expected to get Kinetic things happy for fully functional simulation of Fetch+MoveIt |
@mikeferguson @alexhenning what's the state of the SQLite based client? |
@v4hn @mikeferguson |
Awesome! @beatrizleon Shadow is one of the main users of the warehouse that I know of. |
@v4hn @mikeferguson @k-okada |
I just tried setting up warehouse - the process sucks balls. The first line in the official doc doesn't work in Melodic. Googling the error leads to unrelated ROS Answers pages, and a workaround which could hardly look dodgier. The only other link in the tutorial leads to a page that hasn't been updated since Groovy. @gleichdick 's graciously detailed Readme (which I appreciate a lot) refers to the same dysfunctional documentation right after the build instructions. In our Benchmarking tutorials, we simply assume that people have warehouse set up, but it seems that there is no tutorial that sets up a database, or even answers fundamental questions about warehouse:
Evidently people manage to set it up, but I am not above assuming that if I have difficulties, naturally it is the tools' or documentation's fault. In this case I am actually quite sure. The documentation sucks. Let's fix this. Pinging @captain-yoshi because I know he recently did magic with this somehow. edit: moveit/warehouse_ros#42 |
For Noetic I had to install these: sudo apt install mongodb-server-core
sudo apt install ros-noetic-warehouse-ros
# Not sure if the command below is needed...
sudo apt install ros-noetic-warehouse-ros-mongo For debugging purposes you can check some logs from mongod: mongod -v
# This is normal as we save the db in the moveit_config package
2021-03-12T11:43:57.327-0500 I STORAGE [initandlisten] exception in initAndListen: NonExistentPath: Data directory /data/db not found., terminating
2021-03-12T11:43:57.327-0500 I CONTROL [initandlisten] now exiting
2021-03-12T11:43:57.327-0500 I CONTROL [initandlisten] shutting down with code:100 Finally, you will maybe have this error at one point: [ERROR] [1615567759.671633]: Mongo process exited with error code 100 That is because you have forgotten to kill your In my setup, there is also an infinite recursion with getting distance to collision in this line within FCL. Did not report it yet but maybe because of my setup. |
moveit/moveit_tutorials#478 contains some problems I encountered with the benchmarking tutorial |
With the last line of those install instructions, the instructions in the Benchmarking tutorial work for me. Both @gleichdick 's and @k-okada 's I would be in favor of using it as the default plugin, although in terms of setup both seem roughly equivalent (terrible without documentation, short with). The benchmarking tutorial and this benchmarking package use the mongodb settings as the default, but that should be trivial to change. |
This is a metaticket to cover getting some form of warehouse_ros db plugin working in J/K as part of WMD.
Some background:
Other references:
@alexhenning is currently looking at this
The text was updated successfully, but these errors were encountered: