Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix nav2_costmap_2d linkage#452

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Ryanf55 wants to merge2 commits intoANYbotics:rolling
base:rolling
Choose a base branch
Loading
fromRyanf55:fix-iron-ci-ament-library

Conversation

@Ryanf55
Copy link
Collaborator

@Ryanf55Ryanf55 commentedMar 11, 2024
edited
Loading

Purpose

  • Upstream nav2 didn't backport the dependencies
  • Many dependencies were not linked in grid_map, or relied on transitively
  • You should link the same number of dependencies you call find_package for

Ticket

Relates to#450

Instructions

  • source /opt/ros/iron/setup.bash
  • colcon build --packages-up-to grid_map_costmap_2d

Logs

Starting >>> grid_map_costmap_2d--- stderr: grid_map_costmap_2d                             In file included from /opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/node_interfaces/lifecycle_node_interface.hpp:20,                 from /opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/lifecycle_node.hpp:89,                 from /opt/ros/iron/include/nav2_costmap_2d/costmap_2d_publisher.hpp:46,                 from /opt/ros/iron/include/nav2_costmap_2d/costmap_2d_ros.hpp:48,                 from /home/ryan/Dev/ros2_ws/src/grid_map/grid_map_costmap_2d/test/test_costmap_2d_ros.hpp:23,                 from /home/ryan/Dev/ros2_ws/src/grid_map/grid_map_costmap_2d/test/test_costmap_2d_ros.cpp:17:/opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/state.hpp:21:10: fatal error: rcl_lifecycle/data_types.h: No such file or directory   21|#include "rcl_lifecycle/data_types.h"|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~compilation terminated.gmake[2]:*** [test/CMakeFiles/costmap-2d-ros-test.dir/build.make:76: test/CMakeFiles/costmap-2d-ros-test.dir/test_costmap_2d_ros.cpp.o] Error 1gmake[1]:*** [CMakeFiles/Makefile2:230: test/CMakeFiles/costmap-2d-ros-test.dir/all] Error 2gmake[1]:*** Waitingfor unfinished jobs....In file included from /opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/node_interfaces/lifecycle_node_interface.hpp:20,                 from /opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/lifecycle_node.hpp:89,                 from /opt/ros/iron/include/nav2_costmap_2d/costmap_2d_publisher.hpp:46,                 from /opt/ros/iron/include/nav2_costmap_2d/costmap_2d_ros.hpp:48,                 from /home/ryan/Dev/ros2_ws/src/grid_map/grid_map_costmap_2d/include/grid_map_costmap_2d/costmap_2d_converter.hpp:22,                 from /home/ryan/Dev/ros2_ws/src/grid_map/grid_map_costmap_2d/include/grid_map_costmap_2d/grid_map_costmap_2d.hpp:13,                 from /home/ryan/Dev/ros2_ws/src/grid_map/grid_map_costmap_2d/test/test_costmap_2d_converter.cpp:18:/opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/state.hpp:21:10: fatal error: rcl_lifecycle/data_types.h: No such file or directory   21|#include "rcl_lifecycle/data_types.h"|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~compilation terminated.gmake[2]:*** [test/CMakeFiles/grid_map_costmap_2d-test.dir/build.make:90: test/CMakeFiles/grid_map_costmap_2d-test.dir/test_costmap_2d_converter.cpp.o] Error 1gmake[1]:*** [CMakeFiles/Makefile2:202: test/CMakeFiles/grid_map_costmap_2d-test.dir/all] Error 2gmake:*** [Makefile:146: all] Error 2---Failed<<<grid_map_costmap_2d [0.36s, exited with code 2]

@Ryanf55Ryanf55 self-assigned thisMar 11, 2024
@Ryanf55
Copy link
CollaboratorAuthor

@wep21 I am unable to getiron to build. If you have any tips, let me know!

@Ryanf55
Copy link
CollaboratorAuthor

After some time, the changes in NAV2 are available in binaries. This builds now.

@Ryanf55Ryanf55 marked this pull request as ready for reviewJuly 28, 2024 17:04
@Ryanf55Ryanf55 requested a review fromwep21July 28, 2024 17:04
@Ryanf55Ryanf55force-pushed thefix-iron-ci-ament-library branch from19f89ba to34b6689CompareJuly 28, 2024 17:11
@Ryanf55Ryanf55 changed the base branch fromiron torollingJuly 28, 2024 17:12
@Ryanf55Ryanf55force-pushed thefix-iron-ci-ament-library branch from34b6689 to8568d57CompareJuly 28, 2024 17:13
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@wep21wep21Awaiting requested review from wep21

Assignees

@Ryanf55Ryanf55

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@Ryanf55

[8]ページ先頭

©2009-2025 Movatter.jp