micro-ROS / micro-ROS/micro-ROS-Agent

Dependencies missing in manifest

Đang mở
#105 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
C++
Star
201
Fork
111
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
10

Mô tả

Describe the bug
Dependencies declared as required in cmake are missing in the manifest file.

To reproduce
I encountered this issue when trying to revive an old micro-ROS agent (foxy) installation on my ubuntu PC. Following this tutorial, I

  1. Pulled the micro_ros_setup repo
  2. Executed create_agent_ws
  3. Executed build_agent
    ---- Up to here it is expected behavior, the agent is built properly.

When I then execute colcon build in my ROS 2 workspace, the build of the micro_ros_agent package fails as it is missing microxrcedds_agent. When I place the microxrcedds_agent repo in my workspace, it will still fail on the first colcon run, since microxrcedds_agent is not specified as dependency in the micro-ROS agent package manifest, so colcon doesn't know to build it first.

Expected behaviour
All ROS 2 packages in my workspace successfully build

System information (please complete the following information):
Ubuntu 20.04, ROS 2 foxy, latest foxy branch

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

So sánh các dependency được khai báo trong micro_ros_agent/CMakeLists.txt ở các dòng 32-50 với micro_ros_agent/package.xml ở các dòng 18-22. Trước tiên, hãy đọc cả hai file, sau đó chạy colcon build trong một workspace ROS 2 chứa micro_ros_agent và microxrcedds_agent. Được coi là hoàn tất khi các package build thành công theo thứ tự dependency.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cmake, cpp
Lĩnh vực
build-system
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.