Skip to content

Necessary ompl includes are not exported by nav2_smac_planner #3357

@malban

Description

@malban

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions