Skip to content
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

Building Examples with catkin #205

Open
EpicDuckPotato opened this issue Aug 27, 2021 · 3 comments
Open

Building Examples with catkin #205

EpicDuckPotato opened this issue Aug 27, 2021 · 3 comments

Comments

@EpicDuckPotato
Copy link

I tried using the catkin instructions here to build the examples: https://ethz-adrl.github.io/ct/ct_doc/doc/html/install_guide.html#build

When I try to run

rosrun ct_optcon ex_NLOC,

I get the error

[rosrun] Couldn't find executable named ex_NLOC below /home/noopygbhat/catkin_ws/src/control-toolbox/ct_optcon

Thoughts?

@Nitishg96
Copy link

Did you solved this error? I am also having this error. I have some findings that might be helpful.

When you run catkin build -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=true

You will have warning that Could not find HPIPM or BLASFEO and that is why optcon examples are not building because it depends on blasfeo.
My problem is, I have tried to install all the packages of HPIPM and BLASFEO but I am still getting this warning and that is why when you run rosrun ct_optcon ex_NLOC, the error is coming.

Hope that will help you to find the reason of the error that you are getting. However, I am still finding the solution. Kindly please let me know if you already solved it and how did you do.

@haasithp
Copy link

Actually, the executables were commented in /src/control-toolbox/ct_optcon/examples/CMakeLists.txt. So, uncomment them and try building again. That will work.

@yuguanfeng
Copy link

It works! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants