Robotpy Limit Switches; InterruptableSensorBase Not Implemented

In python, the use of an InterruptableSensorBase inherited by a class containing a limit switch raises a " Not Implemented" error. Is there any equivalent to use of InterruptableSensorBase (which should be spelled Interruptible) that would run a command when the limit switch is hit/interrupted?

If you are subclassing InterruptableSensorBase, you must also implement getAnalogTriggerTypeForRouting() and getPortHandleForRouting() (similarly to Java).

Just glancing at the source code for those functions, it seems they are also Not Implemented.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.