These two setSelectedSensorPosition calls... https://github.com/CrossTheRoadElec/Phoenix-Examples-Languages/blob/8449b5ff9302deb1f5c2fc54ee513a46aa832004/Java/PositionClosedLoop/src/org/usfirst/frc/team217/robot/Robot.java#L37 https://github.com/CrossTheRoadElec/Phoenix-Examples-Languages/blob/4c405f370db1ca2b3b3565c45654cdc25c12bc23/C%2B%2B/PositionClosedLoop/src/Robot.cpp#L34 ...should be updated to match this example... https://github.com/CrossTheRoadElec/Phoenix-Examples-Languages/blob/b6e9ee0d294569d156c090f5aca578740583e05a/C%2B%2B/SetSensorPosition/src/Robot.cpp#L51 ...to better match the intent, which is seeding the relative quadrature sensor using the absolute pulse width sensor.
These two setSelectedSensorPosition calls...
https://github.com/CrossTheRoadElec/Phoenix-Examples-Languages/blob/8449b5ff9302deb1f5c2fc54ee513a46aa832004/Java/PositionClosedLoop/src/org/usfirst/frc/team217/robot/Robot.java#L37
https://github.com/CrossTheRoadElec/Phoenix-Examples-Languages/blob/4c405f370db1ca2b3b3565c45654cdc25c12bc23/C%2B%2B/PositionClosedLoop/src/Robot.cpp#L34
...should be updated to match this example...
https://github.com/CrossTheRoadElec/Phoenix-Examples-Languages/blob/b6e9ee0d294569d156c090f5aca578740583e05a/C%2B%2B/SetSensorPosition/src/Robot.cpp#L51
...to better match the intent, which is seeding the relative quadrature sensor using the absolute pulse width sensor.