Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Issues with SDS Swerve and Rev Spark Max

オープン
#411 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

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
スター
194
フォーク
26
平均マージ
20時間 42分
マージ済み PR(30日)
13

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wpilibsuite/SystemcoreTesting のほかの issue

wpilibsuite/SystemcoreTesting の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。