wb-toolbox icon indicating copy to clipboard operation
wb-toolbox copied to clipboard

Solve osqp-eigen warning

Open traversaro opened this issue 3 years ago • 2 comments

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 .

traversaro avatar Feb 03 '22 09:02 traversaro

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

YYB666 avatar Mar 30 '22 00:03 YYB666

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

traversaro avatar Mar 30 '22 06:03 traversaro