Skip to content

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Jun 2, 2025

Various changes for osqp v1.0.0 support and to refresh the CI.

@traversaro traversaro closed this Jun 2, 2025
@traversaro traversaro reopened this Jun 2, 2025
@traversaro traversaro changed the title Remove unused header osqp/util.h from OSQP.cpp Remove unused header osqp/util.h from OSQP.cpp and migrate Windows CI to windows-latest Jun 2, 2025
@traversaro
Copy link
Member Author

There are more changes required for OSQP support:

[29/30] Building CXX object toolbox/library/CMakeFiles/WBToolbox.dir/src/OSQP.cpp.o
FAILED: toolbox/library/CMakeFiles/WBToolbox.dir/src/OSQP.cpp.o 
/home/runner/micromamba/envs/wbtoolboxdev/bin/x86_64-conda-linux-gnu-c++ -DOSQP_EIGEN_OSQP_IS_V1 -DOSQP_EIGEN_OSQP_IS_V1_FINAL -DOSQP_SHARED_LIB -DUSING_DEPRECATED_UPPERCASE_YARP_OS_TARGET -DWBT_USES_OSQPEIGEN -DWBT_USES_QPOASES -DWBToolbox_EXPORTS -I/home/runner/work/wb-toolbox/wb-toolbox/toolbox/library/include -I/home/runner/work/wb-toolbox/wb-toolbox/toolbox/base/include -I/home/runner/work/wb-toolbox/wb-toolbox/build/deps/thrift -isystem /home/runner/micromamba/envs/wbtoolboxdev/include/eigen3 -isystem /home/runner/micromamba/envs/wbtoolboxdev/include/osqp -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/runner/micromamba/envs/wbtoolboxdev/include -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT toolbox/library/CMakeFiles/WBToolbox.dir/src/OSQP.cpp.o -MF toolbox/library/CMakeFiles/WBToolbox.dir/src/OSQP.cpp.o.d -o toolbox/library/CMakeFiles/WBToolbox.dir/src/OSQP.cpp.o -c /home/runner/w
/home/runner/work/wb-toolbox/wb-toolbox/toolbox/library/src/OSQP.cpp: In member function 'virtual bool wbt::block::OSQP::output(const blockfactory::core::BlockInformation*)':
/home/runner/work/wb-toolbox/wb-toolbox/toolbox/library/src/OSQP.cpp:612:42: error: 'class OsqpEigen::Solver' has no member named 'workspace'
  612 |         double objVal = pImpl->sqSolver->workspace()->info->obj_val;
      |                                          ^~~~~~~~~
ninja: build stopped: subcommand failed.
Error: Process completed with exit code 1.

@traversaro traversaro changed the title Remove unused header osqp/util.h from OSQP.cpp and migrate Windows CI to windows-latest Add support for osqp v1.0.0 and migrate Windows CI to windows-latest Jun 2, 2025
@traversaro traversaro changed the title Add support for osqp v1.0.0 and migrate Windows CI to windows-latest Add support for osqp v1.0.0 and refresh CI Jun 2, 2025
@traversaro traversaro merged commit 4854809 into master Jun 2, 2025
9 checks passed
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

Successfully merging this pull request may close these issues.

1 participant