Get value of different sensors in Talon SRX with Java

We have a Talon SRX with a universal breakout board available on AndyMark plugged into it. There is a magnetic encoder plugged into the encoder ports and a magnetic analog sensor plugged into the analog port. I understand that I have to use getSelectedSensorPosition() to return the value of one of these sensors, but how do I get the other sensor value?

Have a look at GetSensorCollection which returns a SensorCollection that gives you access to all the good stuff on that breakout board.


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