View Full Version : Sending boolean from c++ opencv to java crio
E, Palmer
31-01-2014, 19:55
My team has a openCV video processing software. We need to send a Boolean from our opencv CPP program to our c-rio so we know if we should shoot or not. is there a way to do this?
Domenic Rodriguez
31-01-2014, 22:33
You can use a TCP socket to send data from an application on the driver station or another external device to the cRIO. FRC Java does not include support for UDP. Depending on your platform, you'll want to look into winsock (Windows), BSD sockets (*nix), or a higher level networking library like Boost.Asio (cross platform).
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.