Quote:
Originally Posted by M3rcuriel
I'm certainly interested!
If you have loopback test code that you can quickly rework for a real RoboRIO, I can test it as soon as you send it. If not, I'll probably work on building something myself for testing, because I've been hoping for an API like this for a while. Thank you!
|
I updated the github repo, the Main.class contains a test program, all you should need to do is change the IP from the loopback 127.0.0.1 to whatever IP your RIO is using. The program is simple, and uses the keyboard to simulate a joystick. It is mapped thus:
- Numbers 0, 1, 2, 3, 4 --->Buttons 0, 1, 2, 3, 4
- Arrows u, d, l , r -------->Axis' 1(y):127, 1(y):-127, 0(x):127, 0(x):-127
- Space------------------>Enable/Disable
If you find any problems I'd appreciate it if you could help me out in finding their source since as previously stated I do not have access to a Rio.