Behavior of motor following across separate CAN buses
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java
- Lĩnh vực
- embedded-iot
Hướng nghiên cứu
Start by reproducing the example with two CANBus instances and the TalonFX Follower control, then compare real-world behavior with CTRE simulation. The issue does not identify files or tests, and leaves open whether to warn, error, or support following across buses and whether behavior should be standardized. Done would require a decided behavior and a way to verify it, but the issue provides no acceptance criteria.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Let's say you have the following piece of code:
CANBus s0 = new CANBus(CANPort.CAN_S0);
CANBus s1 = new CANBus(CANPort.CAN_S1);
TalonFX motor1 = new TalonFX(0, s0);
TalonFX motor2 = new TalonFX(1, s1);
motor2.setControl(new Follower(motor1.getDeviceID(), MotorAlignmentValue.Aligned);
The current behavior with CTRE motors is that motor2 does nothing if motor1 is given control signal and nothing else, which is expected given an understanding of how the CAN bus works, but should this behavior be changed? Either to make it possible or give the user a warning/error in this situation? Should the behavior be standardized across vendors? Possible options are:
- Throw an error/warning at compile time
- Send warning messages on runtime
motor2followsmotor1: Would require sending CAN packets across multiple CAN buses and breaks conventional knowledge of how the CAN bus works. This however would make the behavior consistent with FTC and Motioncore, given that each device on Motioncore is technically on a separate CAN bus. You would then have to deal with the case of CAN devices having the same ID but on separate CAN buses.
Side note is that current CTRE's simulation does not reflect the real-world behavior of this where the following motor appears to match the leader motor.
- Ngôn ngữ chính
- Java
- Star
- 194
- Fork
- 26
- Merge trung bình
- 19 giờ 11 phút
- Pull request đã merge (30 ngày)
- 14
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 wpilibsuite/SystemcoreTesting
-
Romi Reference ExampleĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
wpilibsuite/SystemcoreTesting#380 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Limelight Pending
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
wpilibsuite/SystemcoreTesting#315 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
wpilibsuite/SystemcoreTesting#427 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
wpilibsuite/SystemcoreTesting#425 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 40/100
wpilibsuite/SystemcoreTesting#424 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của wpilibsuite/SystemcoreTesting
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
PhasetransCrystal/FPSMatch#47 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Remove unactionable info logĐang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
apache/maven-toolchains-plugin#205 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Dated CSV export filenames use the UTC day rather than the operator dayCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
apache/rocketmq-dashboard#6896 ·
Maintainer thường phản hồi trong vòng 3 ngày