|
Re: C++/Java code embedding?
It should be possible to add new C code and call it from Java. You'd have to use workbench to create a new kernel module, made sure that the module had C bindings (if you're using C++), install the module, get it loaded at startup, and call it from Java using JNA, just like the WPILibJ code does.
That's a fine and interesting project, but if your goal is to call image processing functions like IMAQ provides, it would be simpler to add the JNA code to call the IMAQ function you need.
|