Comments (5)
Dear @tsender, thanks a lot for reporting your issue, this is valuable information to us.
In order to reproduce the problem, would you mind letting us know
- what version of CppAD you used in your custom install
- how (and possibly where) you installed it?
Generally, in any valid recent CppAD release and installation, the example folder https://github.com/coin-or/CppAD/tree/master/include/cppad/example should be present and the code should build -- in that sense I am very curious to learn what version you installed and how you are using it. Once we have narrowed down the problem, I'm happy to provide a fix!
from control-toolbox.
I do not know how to find the exact version of CppAD that I have, but I can tell you it is either 20190200.3 or .4 (based on the dates of each release and when I likely installed it).
I used the regular cmake process (git clone, cd build, cmake, sudo make install) and it is installed in /usr/include/cppad/ on my computer.
I ran catkin build again and here is the situation:
- ct_core and ct_optcon build successfully on their own
- In one of my catkin packages, one header file contains the line: #include <ct/optcon/optcon.h>
This include in my code is what is triggering the error. I also checked that my installed version of cppad contains the cppad/example/eigen_mat_inv.hpp" file, as this file exists in: /usr/include/cppad/example/atomic_two/eigen_mat_inv.hpp
I even tried to add the #Include <cppad/example/eigen_mat_inv.hpp> in one of my own files, and again, the compiler says it can't find the file. Any ideas why it wouldn't be able to find that one file? Thanks.
from control-toolbox.
Thanks for the detailed report. I can reproduce the issue. A patch will follow as soon as my time allows!
from control-toolbox.
@tsender please check out the above mentioned branch and test if this works for you. If yes, I will merge.
from control-toolbox.
@markusgft I checkout out the bugfix branch, ran a catkin clean on my system and everything compiled successfully (aside from warnings about a few dependencies I don't have). I also tested the LQR solver in my gazebo simulation for verification and it ran without errors. So, you should be good to merge the change.
Thank you very much for the quick turn around!
FYI: I have been using 2019 CppAD releases in my own repo without ever having to include "cppad/example/..." in any header, and I have never had a problem. Removing those includes should not cause any harm.
from control-toolbox.
Related Issues (20)
- Failed to generate .kindsl model from the .urdf models provided HOT 2
- Status of the overall project HOT 3
- Cloning and extracting zip fails HOT 5
- matplotlib import error HOT 5
- Building Examples with catkin HOT 3
- Can I define an end-effector on my base link?
- Clarity regarding MPC tutorial example NLOC_MPC HOT 2
- Can I use it for a hexapod robot HOT 1
- Documentation of ct_core
- How to add MPC as a member in a class? HOT 2
- Can this be used for a differential drive wheeled robot? HOT 1
- DynamicRiccatiEquation - reference for implementation
- Ccc
- Activation function time does not move according to MPC progress HOT 1
- Installation error with blasfeo HOT 2
- changeInitialState in Dms does not work
- Using plain cmake build fails on Debian Stretch 9: "In function ‘void irb4600_ik::ComputeFk..."
- where can we find the demo code about "a 6-dof arm avoid a dynamic obstacle in a go-to task"
- custom system dynamic for 6dof Robot MPC
- Can it work on the Ubuntu 20.04? How to do it? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from control-toolbox.