|
Re: CPP to Java
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.
|