robotology / wb-toolbox

Simulink toolbox to rapidly prototype robot controllers
https://robotology.github.io/wb-toolbox/
GNU Lesser General Public License v2.1
24 stars 17 forks source link

Solve osqp-eigen warning #231

Open traversaro opened 2 years ago

traversaro commented 2 years ago

Solve osqp warning:

/__w/robotology-superbuild/robotology-superbuild/src/WBToolbox/toolbox/library/src/OSQP.cpp: In member function 'virtual bool wbt::block::OSQP::output(const blockfactory::core::BlockInformation*)':
/__w/robotology-superbuild/robotology-superbuild/src/WBToolbox/toolbox/library/src/OSQP.cpp:549:50: warning: 'bool OsqpEigen::Solver::solve()' is deprecated: Use solveProblem() instead. [-Wdeprecated-declarations]
     bool solveReturnVal = pImpl->sqSolver->solve();
                                                  ^

I think it was introduced by osqp-eigen 0.7.0 .

YYB666 commented 2 years ago

I also meet the same warning, have you solved it?

traversaro commented 2 years ago

No. However, it is just a warning, it should not prevent you from using the library.