Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Issues with SDS Swerve and Rev Spark Max

Abierto
#411 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
java
Área
robotics

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?

Lenguaje dominante
Java
Estrellas
194
Forks
26
Merge medio
19 h 11 min
PR fusionados (30 d)
14

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de wpilibsuite/SystemcoreTesting

Todos los issues de wpilibsuite/SystemcoreTesting

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.