Skip to content

getVoltage returns input voltage for Thrifty Nova #64

@rzblue

Description

@rzblue

YAMS Version

2025.12.29

WPILib Version

2025.3.2

What motor controller(s) are you using?

Other (specify below)

Other motor/hardware details (if any)

Thrifty Nova

What went wrong?

Expected "motor/outputVoltage" telemetry to reflect the output voltage, instead it's the input voltage.

The value comes from SmartMotorController.getVoltage, which uses ThriftyNova.getVoltage(). ThriftyNova.getVoltage() returns the input voltage reading.

Steps to Reproduce

  1. Create a thrifty nova mechanism
  2. Observe the "motor/outputVoltage" telemetry

Logs or Console Output

Relevant Code (if any)

Checklist

  • I am using the latest YAMS version
  • I searched existing issues for duplicates

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions