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

osqp-eigen的 程序和不使用eigen的osqp #2

Open
james1kobby opened this issue Dec 18, 2023 · 6 comments
Open

osqp-eigen的 程序和不使用eigen的osqp #2

james1kobby opened this issue Dec 18, 2023 · 6 comments

Comments

@james1kobby
Copy link

我想问问您,这个osqp-eigen的 程序和不使用eigen的osqp,用的版本是不一样的吧,请问你两者是如何转换的呀

@CHH3213
Copy link
Owner

CHH3213 commented Dec 18, 2023

我想问问您,这个osqp-eigen的 程序和不使用eigen的osqp,用的版本是不一样的吧,请问你两者是如何转换的呀

我两个都装了,需要操作矩阵相关的时候就用osqp-eigen相关的api就行,不涉及转换

@james1kobby
Copy link
Author

难道你的意思是说osqp-eigen和osqp可以在统一个平台上使用嘛,也就是说这个是两个不同的库?

@james1kobby
Copy link
Author

我之前使用osqp-eigen是将这个同时链接成两个库osqp0.6.0和eigen库来使用,但是这样的话就无法再使用osqp0.4.0(因为apollo使用的是0.4.0版本)

@james1kobby
Copy link
Author

大佬能不能加个微信,这一块思考了好久了,今天见到你

@CHH3213
Copy link
Owner

CHH3213 commented Dec 19, 2023

难道你的意思是说osqp-eigen和osqp可以在统一个平台上使用嘛,也就是说这个是两个不同的库?

不是不是,osqp-eigen是依赖于 osqp的,osqp-eigen是c++接口,引入了eigen库。

@CHH3213
Copy link
Owner

CHH3213 commented Dec 19, 2023

我之前使用osqp-eigen是将这个同时链接成两个库osqp0.6.0和eigen库来使用,但是这样的话就无法再使用osqp0.4.0(因为apollo使用的是0.4.0版本)

版本是需要匹配的,你可以指定版本安装osqp-eigen和osqp呀,根据apollo的版本来

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

2 participants