cpplint checks fail for services and actions with buffers in the response/result
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 56/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c
- Lĩnh vực
- build-system, testing-qa
Hướng nghiên cứu
Bắt đầu với tệp rosidl_generator_py được tạo build/.../rosidl_generator_py/srv/_get_buffer_s.c và lỗi build/include_order của cpplint_rosidl_generated_py. So sánh việc tạo service/action được mô tả trong #263 với việc chèn stdint.h từ #250, bao gồm cách xử lý response/result/feedback so với request/goal. Được xem là hoàn tất khi các kiểm tra cpplint đối với mã được tạo bị ảnh hưởng đều đạt mà không đưa thêm lỗi vào các trường hợp khác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Generated by Generative AI
No
Operating System:
any
ROS version or commit hash:
rolling, lyrical
RMW implementation (if applicable):
No response
RMW Configuration (if applicable):
No response
Client library (if applicable):
No response
'ros2 doctor --report' output
No response
Steps to reproduce issue
See #263
Expected behavior
Tests pass
Actual behavior
Tests fail
- rosidl_generator_py.cpplint_rosidl_generated_py build/include_order [4] (/ws/build/rosidl_generator_py/rosidl_generator_py/rosidl_generator_py/srv/_get_buffer_s.c:83)
<<< failure message
Found C system header after other header. Should be: _get_buffer_s.h, c system, c++ system, other.
>>>
Additional information
#250 injects <stdint.h> into the headers, which might appear in the generated code after non-C headers, if the code is for services and actions, which have buffer type in their response/result/feedback, but not in the response/goal.
There are two simple fixes:
- silence build/include_order in the cpplint checks
- always add <stdint.h>
A more complicated fix would add stdint.h as in the request/goal part, if the parts use buffers.
- Ngôn ngữ chính
- EmberScript
- Star
- 26
- Fork
- 68
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ros2/rosidl_python
-
Eliminate array resetting loop in _msg_support.c.emCó thể đã có người làm @Lidang-Jiang đã nhận 168 ngày trước. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ros2/rosidl_python#255 · 1 reaction ·
-
Message named pkg/Duration with field builtin_interfaces/Duration is invalidCó thể đã có người làm @Lidang-Jiang đã nhận 167 ngày trước. Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
ros2/rosidl_python#257 · 8 bình luận ·
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
ros2/rosidl_python#242 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 32/100
ros2/rosidl_python#219 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ros2/rosidl_python#217 · 2 bình luận ·
Tất cả issue của ros2/rosidl_python
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
agent:blocked agent:ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
turbot/guardrails-fn#46 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cloudnative-pg/charts#1057 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bazel CI] ERROR: Bazel Examples (Android Firebase Cloud Messaging) fails on macOS: no such target '@@androidsdk//:aapt2_binary'Có thể đã có người làm @deepalak56 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
bazelbuild/examples#715 ·
-
[Bug]: Three default prefs with JSON values are never set (override.sh escapes their quotes twice)Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Floorp-Projects/Floorp#2913 ·
Maintainer thường phản hồi trong vòng 1 ngày