Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Issues with SDS Swerve and Rev Spark Max

未关闭
#411 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
java
领域
robotics

调研方向

Start by reproducing the reported setup: an SDS MK4i drivetrain with REV Neo motors and CANandmag absolute encoders on SystemCore OS alpha 15 and WPILib 2027 alpha 7. Compare the relative and absolute position feeds in RHC2 and Glass with the encoders connected and disconnected. The issue does not identify a code entry point or test; done means determining whether the setup should work and what causes the random position data.

由索引模型根据 Issue 内容生成。

描述

REV Robotics

I am a mentor on a team that participated in the initial 2025 Alpha release of SystemCore (team 456). For our initial test we brought up an SDS MK4i drivetrain with Rev Neo's and canandmag absolute encoders in little time with no issues. We were really impressed with how well things went for an Alpha release.

For our 2026 offseason, we decided to repeat that process using the latest systemcore OS (alpha 15) and wpilib (2027 alpha 7). However, things are not going nearly as smoothly. We got through the WPILIB changes without too many issues. The vscode import process handled most of the library renaming issues, and the only real work was the change from SmartDashboard to Telemetry. However, we have run into a roadblock with Rev Neo motors on a SDS MK4i with canandmag absolute encoders. Nothing we try will get Sparkmax's to work when the encoders are connected. Unhook the absolute encoder, and the relative motor position data makes sense in both RHC2 and Glass (using Telemetry to publish data on the network tables). I haven't tried it, but I believe the robot would drive, assuming the robot is powered up with the steering motors in the zero position. However, plugin the absolute encoders and both the relative and absolute motor position data feeds might as well be random number generators (both in RHC2 and Glass). The problem might simply be some kind of missing inversion for the motors or the absolute encoders, but feels related to Rev's ongoing efforts to remove the scalefactor/unit stuff from their libraries. What is the current status on the Rev codebase? Should it be possible to make this work? Am I missing a firmware release?

主要语言
Java
星标
195
派生
26
平均合并
20 小时 44 分钟
30 天内合并 PR
13

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

wpilibsuite/SystemcoreTesting 的其他 Issue

查看 wpilibsuite/SystemcoreTesting 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。