-
Notifications
You must be signed in to change notification settings - Fork 89
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
navigation2 does not build #286
Comments
You'll need to make a PR to rosdistro, like this recent one that added a dependency of RViz. |
@hacker1024 thanks for this information. I made a PR to rosdistro here |
It looks like |
I created a PR for rosdep to include |
|
I was trying to build |
Now I need it! I'll look into it. A bunch of nav2 packages also need |
Alright, got it all working: Issuesa) The following packages need to be compiled with Solutionsa) can be fixed here in an overlay, though it's probably best fixed upstream. That seems like a fair bit of effort, though. |
Hey all, feel free to suggest a solution to the |
Has anyone gotten navigation2 to build?
This sounds like issue a mentioned above: Maybe we need to add |
Some (if not all) these errors have already been fixed upstream, but probably are not yet released. The problem you mention can be addressed by this commit (in my branch). If you apply it, you will see the other problems, which are addressed by ros-navigation/navigation2@fbec0fa. You can apply the changes from that commit similarly as above. The complication is that the commit is a squashed commit and you need to split it to individual packages by adding (self.fetchpatch {
url = "https://github.com/open-navigation/navigation2/commit/fbec0fa68a23e8257e1420075745aba0735b07c4.patch";
stripLen = 1;
includes = [ "*/subdir..../*" ];
hash = "";
}) Beware that the value of those arguments influences the To be honest, I'm not sure whether it is worth the effort. Especially if the package will be released with these fixes sometimes soon, it may be better to wait :-/. However, I don't use these packages and don't know what's their release policy. |
Hey all! I'm trying to get this working myself, and I'm running into the @hacker1024 sorry for the year-later ping, but is overriding xtensor/xsimd still the solution, and if so, which versions worked for you? Currently these are what I have overridden, although it's still failing to build:
Edit: I've managed to make it build (with default xsimd/xtensor) by adding the |
So I did some more investigation - the only difference I could find between building from source on Ubuntu vs with Nix was the gcc version (13.3.0 with Nix vs 11.4.0 on Ubuntu), which made me think the compile errors were specific to GCC 13. After modifying the I also confirmed that the error is specific to For anybody running into the same issues as me, here's the list of overrides to perform:
Since The full list of overrides is as below, update the patch file locations as appropriate:
|
The navigation2 package does not build because
nav2_mppi_controller
is missing. In the last rosdistro sync there is a dependency (xtensor
) ofnav2_mppi_controller
listed as missing. Butxtensor
is available in nixpkg (see search).Because of this
rtabmap-ros
does also not compile.I want to contribute more to this repo is there a guideline on how to do so?
The text was updated successfully, but these errors were encountered: