toppra
toppra copied to clipboard
install C++ API, which openrobot pkg
if install C++ API, which openrobot pkg should be installed . because I see " /opt/openrobots/lib" is needed, after all there so many pkd on http://robotpkg.openrobots.org/robotpkg/robots/index.html
Hi,
This package is not provided by robotpkg. It could be added with some little effort but I won't have time to do it myself.
The C++ code can uses QPoases, which can be installed with robotpkg. This is what I used when I contributed to its development. This is probably the reason why you see this.
@oridong Have you successfully installed the C++ version?
@jmirabel I don’t know if your cpp readme document is updated in real time,and it's really unfriendly to beginners.According to your cpp following building tests
git clone -b develop https://github.com/hungpham2511/toppra
export LD_LIBRARY_PATH=/opt/openrobots/lib:${LD_LIBRARY_PATH} export CMAKE_PREFIX_PATH=/opt/openrobots mkdir build && cd build && cmake -DBUILD_WITH_PINOCCHIO=ON -DBUILD_WITH_qpOASES=ON .. make -j4
./tests/all_tests
It's unable to install successfully...and I am vexed... Could you tell me in detail how to install the cpp version?I really appreciate you doing this!Thx!
Hi @oridong and @xuuyann, you can refer to the CI pipeline here https://github.com/hungpham2511/toppra/blob/ec723091a717373413d5747d6c1e56d57a646fa1/.circleci/config.yml#L24 for what packages to install.
Installation from source with no meta build tool always requires a bit of involvement. I could write a complete readme for people to use this with robotpkg but this wouldn't suit all users since some will not use robotpkg.
Moreover, when something does not work and you ask for help, you could at least describe what does not work and the error you get. I don't know which step failed. I bet the error message is clear enough for the ones able to demangle it.
Stale issue message