Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Spark position wrapping with REVLib 2027

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

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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
robotics

Hướng nghiên cứu

Start with the Java configuration entry point ClosedLoopConfig.positionWrappingEnabled and the relative-encoder setup, then trace how position wrapping handles its [0, 1) range after positionWrappingInputRange and positionConversionFactor were removed. Compare the available configuration with the swerve turn-controller use case; done means the intended mechanism-reduction behavior and supported configuration path are established.

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

Mô tả

What is the intended way of using closed-loop position wrapping (i.e. ClosedLoopConfig.positionWrappingEnabled) on a Spark using a relative encoder? I see that it wraps to [0, 1) rotations after the removal of positionWrappingInputRange, but as far as I can tell there's no way to configure the mechanism reduction after the removal of positionConversionFactor. Am I missing a config option somewhere? This was a useful feature when using a Spark as a turn controller for swerve.

It's possible to work around this by manually wrapping the setpoints in the robot program, but that's obviously not ideal.

Ngôn ngữ chính
Java
Star
190
Fork
25
Merge trung bình
6 giờ 7 phút
Pull request đã merge (30 ngày)
13

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

  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.

Issue khác của wpilibsuite/SystemcoreTesting

Tất cả issue của wpilibsuite/SystemcoreTesting

Issue tương tự

Thêm issue về Java

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.