maximeadjigble / grasplocomo

Robotic grasp generation C/C++ library for parallel-jaw grippers
BSD 3-Clause "New" or "Revised" License
14 stars 2 forks source link

Implementation on Linux #2

Closed Olalm closed 2 years ago

Olalm commented 2 years ago

Any suggestions on how to implement project in Linux? Struggling because Visual Studio Community is not compatible with Linux.

maximeadjigble commented 2 years ago

Could you please send a print screen of the error message and also provide your computer configuration and I will have a look

Olalm commented 2 years ago

The dxGraspLoCoMo.h file is available so I do not know why this error shows. image

When I build the solution, this is the final output: image

This is the CMake configuration I am using: image

Linux distribution: image

kristianmk commented 2 years ago

See the following pull request https://github.com/maximeadjigble/grasplocomo/pull/3

maximeadjigble commented 2 years ago

Hi, ok i will have a look at it this week and update the code so that it can also be compiled on ubuntu

maximeadjigble commented 2 years ago

Hi @Olalm , Kristian has done a great job and has updated the code for Ubuntu. You can find the updated version here. https://github.com/kristianmk/grasplocomo

To compile, you need to:

And you will have in the /lib folder the built library libdxGraspLoCoMo.a, and the file at /Grasp/dxTestGraspLoCoMo that you can execute for a demonstration of the algorithm. You will need to move the folder /Clouds a level up ../grasplocomo for the point clouds to be found or change the location of the folder in /grasp/test/dxGraspLoCoMoTest.cpp (line 96).

I'll merge both branches later this week, but in the meantime this will solve your problem