Unfortunately, as a WPILib project it fails to build, but has no problem as a Java application. This library looked promising as something quite simple with only one single jar file to add as a library in Eclipse. The next library tried was java-simple-serial-connector or jSSC. RXTX, 64 bit precompiled binaries for Windows, was attempted, compiled, and transferred to the RoboRio, but once there it ran into runtime failure as something about the library was not available for some reason. ![]() Not being discouraged I tried some open source USB serial libraries and met failure with both of them. ![]() ![]() I looked at the online documentation for the WPILib SerialPort implementation and saw that documentation mentions “Driver for the RS-232 serial port on the RoboRIO”. I saw this post awhile back and had come across a forum in the past that ensured that USB serial communication between the Raspberry Pi and Arduino is possible so I thought that it would be easy to setup a serial connection via USB.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |