Continuous Serialization and Image Data Streaming
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 22/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c
- Lĩnh vực
- embedded-iot, networking
Hướng nghiên cứu
Bắt đầu với phần tuần tự hóa liên tục trong hướng dẫn lập trình micro-ROS và so sánh phần này với rclc/ping_uros_agent/main.c, sau đó xem lại tài liệu API của microcdr và continuous_serialization. Được xem là hoàn thành khi hành vi của bộ đệm và lớp truyền tải được ghi lại, ucdr_alignment được giải thích, đồng thời thêm vào hoặc dẫn tới một ví dụ truyền luồng hình ảnh hoạt động được.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Issue template
- Hardware description: MAX78000 / Custom board
- RTOS: FreeRTOS
- Installation type: micro_ros_setup / custom static library
- Version or commit hash: Humble
Hello - I'm an engineer with Analog Devices and I've been working on micro-ros support for our microcontrollers, starting with our embedded AI micros. I've completed the port and custom transports following the excellent tutorials, so first off thank you for the great documentation and project. I would eventually like to open a PR with official part support for our MSDK microcontrollers, and I'm building up a cool demo using an OpenManipulator-X running some custom object detection on our MAX78000.
Let me know if there's a better channel/repo to go through for questions. I couldn't get the Slack channel invite to work.
My current challenge is related to the topic of continuous serialization mentioned in the bottom part of this tutorials page.
I'm currently publishing a sensor_msgs/image image successfully, but the transmissions are very slow since the message is broken up into many packets. I would like some way to continuously stream the image data instead, but still comply with the expected message framing protocol. So...
- Is "continuous serialization" what I'm looking for?
- The tutorial says the ping_uros_agent example shows an example for continuous serialization of image data, but I don't see it. Are there any examples for this?
- I can sort of guess at what the APIs do based on the tutorial, but the API documentation for the
microcdrandcontinuous_serializationmodules are somewhat limited. I'm confused about what theucdr_alignmentfunctions do, and also whether it's possible stream image data row by row from the serialization callback. In the given example does writing into the ucdr buffer push the data out into the transport layer?
// Implementation example:
void serialization_cb(ucdrBuffer * ucdr){
size_t len = 0;
micro_ros_fragment_t fragment;
// Serialize array size
ucdr_serialize_uint32_t(ucdr, IMAGE_BYTES);
while(len < IMAGE_BYTES){
// Wait for new image "fragment"
...
// Serialize data fragment
ucdr_serialize_array_uint8_t(ucdr, fragment.data, fragment.len); // <-- (JC): Does this go out to the transport layer?...
len += fragment.len;
}
} // ... or is the data finally sent here, when the callback returns?
I also have some more general suggestions/questions related to some challenges I had in developing the custom transports, and would love to contribute back to the project in any way I can.
Thank you,
Jake
- Ngôn ngữ chính
- Shell
- Star
- 509
- Fork
- 183
- Merge trung bình
- 22 giờ 26 phút
- Pull request đã merge (30 ngày)
- 7
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 micro-ROS/micro_ros_setup
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
micro-ROS/micro_ros_setup#837 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
micro-ROS/micro_ros_setup#814 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
micro-ROS/micro_ros_setup#809 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
micro-ROS/micro_ros_setup#808 · 2 bình luận ·
-
sensor msgs dependencies Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
micro-ROS/micro_ros_setup#806 ·
Tất cả issue của micro-ROS/micro_ros_setup
Issue tương tự
-
Add 4.2.2 Kafka version Đang mởgood-start
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
[Chore] Keep one viget-block-generator skill and replicate it, instead of four tracked copies Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
VilnaCRM-Org/user-service#497 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
conda-forge/spacy-feedstock#177 ·
-
area:jail bug security severity:low track:open-source
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100