Arduino Wire.h I2C custom transport on Pi Pico is causing a crash
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
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- arduino
- Lĩnh vực
- embedded-iot
Hướng nghiên cứu
Bắt đầu với ini của PlatformIO và mã Pastebin được liên kết, tập trung vào cách transport tùy chỉnh được cấu hình và nơi uxr_init_custom_transport được sử dụng. Trước hết, hãy tái hiện baseline serial, sau đó là transport I2C trên Pi Pico; được xem là hoàn tất khi transport tùy chỉnh không còn làm board bị crash và node cùng topic micro-ROS vẫn hiển thị.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- Hardware description: Pi Pico
- RTOS: I think arduino mbed
- Version or commit hash: humble
Steps to reproduce the issue
I'm trying to make a custom transport for I2C using arduino's Wire library. I am able to build and flash the microros_publisher example, everything works over serial and I can see the topic and node in a docker container. However, when I replace setting the serial transport with my own, I think the pico crashes since i'm getting a flashing pattern on the pico (4 long, 4 0r 5 long). I really hope I'm missing something subtle. Also I'm not sure how I am supposed to properly use uxr_init_custom_transport, or if I'm supposed to use it at all, because the default serial transport doesn't. Also if this isn't the correct place to post this issue, please point me in the right direction.
here's my ini
env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
lib_deps =
https://github.com/micro-ROS/micro_ros_platformio
upload_protocol = mbed
board_microros_distro = humble
board_microros_transport = custom
heres the code
- Ngôn ngữ chính
- Python
- Star
- 334
- Fork
- 111
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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_platformio
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
micro-ROS/micro_ros_platformio#177 · 16 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
micro-ROS/micro_ros_platformio#167 · 6 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
micro-ROS/micro_ros_platformio#162 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
micro-ROS/micro_ros_platformio#153 · 8 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
micro-ROS/micro_ros_platformio#149 · 4 bình luận · 1 reaction ·
Tất cả issue của micro-ROS/micro_ros_platformio
Issue tương tự
-
documentation help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
simonw/sqlite-utils#872 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100