Skip to content

Conversation

@MaximilienNaveau
Copy link

As of today the 4th of December 2025, the real-time patch on Ubuntu is realiable on Ubuntu 22.04 and many robots still runs on this OS.

Hence I create this PR that ensure that aligator builds on Ubuntu 22.04 with the the bare minimum changes.

Unit-tests passes on my laptop on the AGIMUS docker: a Ubuntu22.04 with our custom packages.

Copy link
Member

@ManifoldFR ManifoldFR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll let @jorisv take care of the rest

* (optional) [example-robot-data](https://github.com/Gepetto/example-robot-data) | [conda](https://anaconda.org/conda-forge/example-robot-data) (required for some examples and benchmarks)
* (optional) [Catch2](https://github.com/catchorg/Catch2) | [conda](https://anaconda.org/conda-forge/catch2) for testing
* a C++17 compliant compiler
* (optional) [Catch2](https://github.com/catchorg/Catch2) | [conda](https://anaconda.org/conda-forge/catch2) for testing a C++17 compliant compiler
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. C++17 is required.

@@ -1,5 +1,5 @@
#pragma once

#include <pinocchio/fwd.hpp>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not an acceptable change, because Pinocchio is an optional dependency. You could add include guards but most likely including Pinocchio's fwd header is too coarse a solution (what was the problem here?)

solver.run(problem);

fmt::print("{}\n", fmt::streamed(solver.results_));
fmt::print("{}\n", solver.results_);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks with recent versions of fmtlib. A possible solution would be to specialise the required template class from fmtlib using fmt::ostream_formatter

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.

2 participants