-
Notifications
You must be signed in to change notification settings - Fork 234
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
towr does not optimize on Ubuntu 14.04 when installed manually with catkin #40
Comments
Hi! Also try launching in debug mode: Finally, did you install manually or using the ROS binaries ( |
I initially tried to install under Ubuntu 14.04, following the catkin instructions. I had to manually install Ipops (version 3.12.8) which uses mumps. When I run in the debug mode, it outputs:
After I press 'o' it adds:
and then gets stuck. Do you have any suggestions? After I wrote my first comment, I did successfully install towr on a different machine, with Ubuntu 18.04, from ROS binaries. It worked flawlessly. And I had fun playing with it. Nice project! I would still like to have it installed under ubuntu 14.04, if possible. |
But I already installed version 3.12.8, see the debug report. Should I try a more recent version? Thank you for help. |
No, your version should be fine. In this case I would start the debugging by running the example ex_test_ipopt.cc, because this issue seems to be independent from towr, but more ifopt. Check this ifopt-readme, try e.g.
|
Hi Alex, Somehow ROS does not see ifopt. I suspect it might be something simple, but a lot of this is new to me, so I cannot figure it out. I do have ifopt installed, I could navigate to build_isolated/ifopt/devel/ and successfully run the test, but I cannot rosrun it, it says: [rospack] Error: package 'ifopt' not found Same with towr. ROS sees towr_ros, but not towr I noticed that when I run catkin_make_isolated, it says for both packages (towr and ifopt) Makefile exists, skipping explicit cmake invocation... Is it somehow related? Thank you |
Bumping this as I'm also running into the same issue under very similar conditions; Ubuntu 14.04 Both the IFOPT test passes as well as the ifopt_ipopt binary test (However, there is not Output to the tests) In addition, all of the programs were compiled from source and not installed using any ROS interface (i.e. all programs were made with cmake). Edit Did some more digging, it seems the 'error' lies in the following file when you attempt to solve the NLP: https://github.com/ethz-adrl/ifopt/blob/master/ifopt_ipopt/src/ipopt_solver.cc (line 75). I tested and made the hs_071 test file provided by IPOPT to see if there was something weird with the solve function (since you are essentially calling the OptimizeTNLP line from your code which actually belongs to IPOPT), and this passes as expected. I also tested the ifopt-ipopt test example which also successfully passes, so it seems there must be an issue causing the ipopt solver to not proceed, maybe something wrong with the constraints that is causing it to not even attempt to solve the problem (It is not outputting anything). Is there a way to verify the ipopt installation source that ifopt was compiled with? I initially downloaded used the command: sudo apt-get install coinor-libipopt-dev However, after reading through this thread, I removed the package, so I believe this should remove the library files in /usr/local/... as well, but I'm not so sure of that. I did also add the lines as you suggested in the ~/.bashrc file to export the local installation of IPOPT, so I think this shouldn't be the issue... |
@underactuated @Neotriple You're building with pure cmake, right? So I think you have a different issue unrelated to ROS, so I opened #45 |
Closing this here, as #40 (comment) fixes the original issue. |
Your project looks really nice and promising, so I decided to try it. I successfully installed towr, but when I run it (roslaunch towr_ros towr_ros.launch) not much is happening. Specifically, xterm and rviz open and I press 'o' in the xterm. Xterm says 'optimizing motion', but then nothing happens. If I check 'monoped' in rviz, I see 'status:error'. The errors are of the type 'No transform from [monoped/hipassembly] to [world]'. The only OK transform is for monoped/base.
I really would like to use this project, but I do not know how to proceed. Any help is very much appreciated. Thank you!
PS: I am new to github. If this question is more appropriate for ros answers, please let me know.
The text was updated successfully, but these errors were encountered: