Quote:
Originally Posted by Tom Bottiglieri
So, it seems possible to get decent timing in Java, but someone is going to have to get the Notifier built into the JNI and working. Has anyone managed to get the allwpilib repo java stuff built? The documentation isn't incredibly helpful.
|
I was able to successfully build on Ubuntu back in January when I had to add some missing JNI bindings for the DIO's which were needed to get ultrasonic sensors working in wpilibj.
Taking a quick glance through the source, it looks like Java already has the FPGA interrupt infrastructure available so hopefully adding support for Notifier to wpilibj isn't too bad....should require adding 1) a NotifierJNI class provide the HAL bridge; and 2) a Notifier class for robot programs to use. I'll see if I can poke around with this over the weekend.
- Ron
Team #2607 controls mentor