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

fix(freespace_planning_algorithms): modify build error in rolling #774

Merged
merged 1 commit into from
Apr 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
#include <nav_msgs/msg/occupancy_grid.hpp>

#include <tf2/utils.h>

#ifdef USE_TF2_GEOMETRY_MSGS_DEPRECATED_HEADER
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
#else
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
#endif

#include <vector>

// TODO(wep21): Remove these apis
// after they are implemented in ros2 geometry2.
#ifdef USE_TF2_GEOMETRY_MSGS_DEPRECATED_HEADER
namespace tf2
{
inline void fromMsg(const geometry_msgs::msg::Point & in, tf2::Vector3 & out)
Expand All @@ -48,6 +52,7 @@ inline void doTransform(
toMsg(v_out, t_out);
}
} // namespace tf2
#endif

namespace freespace_planning_algorithms
{
Expand Down
5 changes: 5 additions & 0 deletions planning/freespace_planning_algorithms/src/astar_search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
#include <tier4_autoware_utils/tier4_autoware_utils.hpp>

#include <tf2/utils.h>

#ifdef USE_TF2_GEOMETRY_MSGS_DEPRECATED_HEADER
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
#else
#include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
#endif

#include <vector>

Expand Down