Skip to content

Expose Talon SRX's internal encoder scaling. #101

@agausmann

Description

@agausmann

While trying to implement closed-loop speed control on my Talon SRX, I found two methods that were of great use. CANTalon.configEncoderCodesPerRev() and CANTalon.configPotentiometerTurns() allow the user to provide the instance with an encoder resolution in common units. Delegating these would be able to replace the current scaling implementation that is provided by Strongback (pulses per degree).
IMO this would be a preferred way of scaling encoder input, and I am not sure whether speed control would be feasible with the way that Strongback handles scaling right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions