-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Usage of C++ API in CMake Project #216
Comments
May I know how you installed it ? If you use ROS, you may also use catkin. This is how I use this package personally. |
I follow the instruction mentioned here in the Readme. Currently, I am using ROS2 humble(Ubuntu 22.04) so I have to use colcon to build the workspace. I haven't tried building C++ API in the ROS workspace but will try to do it. But I thought that if I keep toppra separated from the workspace that should be good. Also while building(make), the tests subdirectory failed with the multiple following errors
I found this on stack overflow here. This may be due to the initialization of |
Do you have a dockerfile that reproduces the issue? It would make it easier for us to try it out. |
Did you try to |
@hungpham2511 Sorry for not getting to you earlier, I didn't have a Dockerfile for reproducing the error but it doesn't take much time to create one I guess. Currently, I have ubuntu 22.04 on my system with ROS2 Humble distro. As building(CMake) is independent of ROS distro, the reason of test subdirectory failed with the multiple overload errors can be due to the version of the C++ Compiler used. @FehlerNotFound I missed this part. Now |
In |
@jmirabel I agree with you So, What am trying to ask is, Is this because of nonuniform recorded waypoints? because for parameterizing we need a smooth geometric path right? This means we can't do parameterization of a raw sequence of waypoints while satisfying the constraints properly like the recorded ones. I am currently exploring new things So don't have much in-depth experience and knowledge of it. But I love to have some guidance that gives me some in-depth insight. |
hi, I have faced the same error:
I don't know if you still remember how you solved it. |
Hi,
I am trying to use C++ API in a ROS project, because it's a CMake project we can directly use it in the ROS project through find_package(toppra).
After building, I tried to use it in the ROS package but CMake Could not find a package configuration file provided by "toppra" with any of the following names:
Now, for that I have to append the config files path into the CMAKE_PREFIX_PATH. But when I look for the directory of config files I am unable to find it. If we looked at the following portion of CMakeLists.txt present in the cpp folder
Config files directory is set to lib/cmake/toppra what I am deducing is that project cmake files are going to install under
/lib/cmake
right? or its in the build directory of the project because I only found the cmake-config files under the generated folder and cmake-Target file under Export directory but these should ideally be present in one directory toppra under the following path/lib/cmake
. But I am not able to find any config files under this path, no files are installed there.The text was updated successfully, but these errors were encountered: