Quote:
Originally Posted by raystubbs
Found a problem in PacketManager:
Code:
if (connected && !timeSent) {
driverStationPacket.addTime();
timeSent = true;
}
This sends the connection/time packet as the first packet, the RIO never actually processes it. You need to send normal packets until the RIO responds for the first time, after the first response THEN you send the time packet and the RIO will accept it.
Here is my implementation:
https://github.com/raystubbs/RioComA...omManager.java lines 171-197
|
I don't think that is the problem, because the connected flag is not set until the first packet is received from the robot, so the time is not sent until this happens. Also, my packet captures show that the time is not being sent.