The chunk of data which is the boolean doesn’t have to be converted to a “Java program”. For sending some data from the Driver Station to the robot, one could use sockets.
Basically, one opens a UDP socket on the Driver Station side and sends the data through. The robot side should have a UDP socket open and bound to some port like 1130 to which the Driver Station app is sending. I would recommend sending a character for something like that rather than a boolean since there isn’t a defined format for booleans.
Sorry if I was unclear. All of our dive code/autonomous is in Java so the crio is flashed to java. We are using the Java smartdashboard.
Our autonomous program needs to know if the goal is hot or not. The video processing will tell us that . So I need to send a Boolean between the CPP video processing to the Java autonomous telling whether the goal is hot or not.