-
Notifications
You must be signed in to change notification settings - Fork 171
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
ROS_PACKAGE_PATH env variable is not set correctly after building crocoddyl with catkin build #1219
Comments
Hi @aristotpap, Thanks for reporting this issue! I have two questions for you
Thanks, |
Hi @cmastalli , Thank you for replying promptly.
The corresponding After building |
@aristotpap -- could you test the PR in #1220? This should sort out this issue. Btw, I suggest you compile and install Crocoddyl without catkin. It is much faster and more convenient to do so. |
Hello @cmastalli, I tried to build both PR in #1220 and devel branch (since I saw that you merged it) and I was not able to build it successfully. The errors though seem unrelated. crocoddyl_build_logs.txt Finally, I tried to Note that during the weekend I was able to make it work by manually creating the Thanks for the help! |
Hi, @aristotpap! The compilation error you reported is fixed in #1221. You can see more details in that PR. I'll merge this PR after passing all jobs (I hope this afternoon). However, I suggest trying this PR and reporting back. When I compiled the latest changes, I could see the correct stored information inside |
Hello @cmastalli, I tried building devel branch and after PR #1221 it was built successfully. However, the issue remains. Whenever I try to build crocoddyl, or state it as dependency in |
I am surprised as I couldn't replicate this issue in ROS 1. Is this happening in ROS 2? |
ROS 1 Noetic. It's an ANYbotics installation. I will try again with another machine and let you know. Thanks for the effort |
Hello,
Thank you for developing and maintaining crocoddyl. I am facing the following problem:
I have a catkin workspace and I want to build both pinocchio and crocoddyl from source using
catkin build
. I have cloned their dependencies too, namely eigenpy and example-robot-data into my workspace. I can build all packages correctly except crocoddyl. When I try to build it, I don't face any errors and the process finishes as expected. However, when I try to source my workspace usingsource devel/setup.bash
,roscd
androspack find
cannot find any package built in my workspace. After building crocoddyl theROS_PACKAGE_PATH
variable is not set correctly, sinceecho
returns/opt/ros/noetic/share
, even though my workspace is sourced.If I set the environmental variable manually,
rospack
finds the packages as expected.If I build any other package in my workspace after crocoddyl,
ROS_PACKAGE_PATH
is set correctly for it and its dependencies, but not for crocoddyl.One workaround to the problem, is to remove the dependencies from
package.xml
statements, since the error seems to be build-tree related, when crocoddyl reinstalls its dependencies. Also, I tried to find a solution online and this seems related, however I cannot tell what causes the problem.I use ROS Noetic (Ubuntu 20.04) and catkin tools v0.9.0 with Python 3.8.10. Both crocoddyl and pinocchio are git cloned recursively. Also
CMAKE_PREFIX_PATH
is set as expected to/opt/ros/noetic/
The text was updated successfully, but these errors were encountered: