Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

ExpansionHubMotor.setReversed() stopped working

Open
#314 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python

Research direction

Start with the ShooterSubsystem example in the linked FTC2025Flossie repository and trace the ExpansionHubMotor.setReversed() call. Reproduce the issue on the hybrid setup with two expansion hubs, checking whether motor direction changes while encoder operations still work; done means setReversed(True) and setReversed(False) produce opposite motor directions.

Written by the indexing model from the issue text.

Description

Pending

At some point calling setReversed() on any of our motors stopped taking effect. It worked at some point to flip our motors, but now it doesn't take affect for any motor.

The motor still can run, we can get encoder position / velocity, we can reset the encoder, but setReversed does nothing.

class ShooterSubsystem(Subsystem):
    def __init__(self):
        self.shooter_motor = wpilib.ExpansionHubMotor(0, 0)
        self.shooter_motor.setReversed(True) # Swapping this to False has no effect

RobotPy 2027.0.0a6.post1
Beta Systemcore HW, limelightosr-beta-11
Repo
Hybrid setup with 2 expansion hubs

Power cycles don't help, and I ssh'd into the systemcore to validate the file is getting deployed correctly

Dominant language
Java
Stars
186
Forks
24
Avg merge
8h 27m
Merged PRs (30d)
9

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wpilibsuite/SystemcoreTesting

All issues in wpilibsuite/SystemcoreTesting

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.