|
Communicating With A PC
I am stuck here guys and I need some help, I am not going to use a serial port since out laptop does not have a serial port. I was thinking either communicate with an ethernet on the 2nd port or the existing connection with the dashboard. The problem is I do not know how to do that, there is no socket class, or anything similar to it. I am currently looking at the DataOutputStream and the Driverstation class, but I am not sure if thats the one that communicate through the ethernet. I have an idea on what they do, but I have no idea from the client side to get that data being sent. Should I use sockets? If I do use sockets, whats the port and IP of the robot? I know I sound like a total noob, but its been a long day, I woke up at 5:30 and lifted for an hour and now I am school trying to figure this out...
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
|