Skip to content

TalonSRX seems to swap forward/reverse limit switches? #64

Closed

Description

@agausmann

Should this be fixed? It may cause a lot of confusion with others (it did for me)

In org.strongback.hardware.HardwareTalonSRX:

    HardwareTalonSRX( ... ) {
        ...
        this.forwardLimitSwitch = talon::isRevLimitSwitchClosed;
        this.reverseLimitSwitch = talon::isFwdLimitSwitchClosed;
        ...
    }

Activity

  1. rhauch commented on Feb 29, 2016

    @rhauch
    Member

    Yes, it probably should be fixed. But I'm hesitant to change the behavior at this point in time since it would break existing code that might already have corrected for the error. Thoughts?

  2. agausmann commented on Feb 29, 2016

    @agausmann
    MemberAuthor

    It should be postponed at least until the next minor release (1.2) and the change should be explicitly noted in the release notes. It shouldn't be released as a patch because it silently changes the behavior of the code.

    Let's perform the fix now and merge/tag it post-season.

  3. added this to the milestone on Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions