Skip to content
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

Necessary ompl includes are not exported by nav2_smac_planner #3357

Closed
malban opened this issue Jan 11, 2023 · 1 comment
Closed

Necessary ompl includes are not exported by nav2_smac_planner #3357

malban opened this issue Jan 11, 2023 · 1 comment

Comments

@malban
Copy link
Contributor

malban commented Jan 11, 2023

Bug report

Necessary ompl includes are not exported by nav2_smac_planner

Required Info:

  • Operating System:
    Ubuntu 22.04

  • ROS2 Version:

    • humble binaries
  • Version or commit hash:

    • 1.1.3-1jammy.20221207.052822
  • DDS implementation:

    • cycloneDDS

Steps to reproduce issue

include #include <nav2_smac_planner/smac_planner_lattice.hpp> in a source file in a ROS package that has included nav2_smac_planner as a dependency and try to build it.

Unless the ompl include directories have been exported by some other dependency of the package, they won't be found causing the build to fail.

Expected behavior

ompl includes are found and the build succeeds

Actual behavior

In file included from /opt/ros/humble/include/nav2_smac_planner/node_2d.hpp:30,
                 from /opt/ros/humble/include/nav2_smac_planner/analytic_expansion.hpp:23,
                 from /opt/ros/humble/include/nav2_smac_planner/a_star.hpp:30,
                 from /opt/ros/humble/include/nav2_smac_planner/smac_planner_lattice.hpp:22,
...

/opt/ros/humble/include/nav2_smac_planner/node_hybrid.hpp:28:10: fatal error: ompl/base/StateSpace.h: No such file or directory
   28 | #include "ompl/base/StateSpace.h"
@SteveMacenski
Copy link
Member

Thanks! Will review PR shortly

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

No branches or pull requests

2 participants