|
Re: command line input...
can it be done? yes
is it competition legal? most likely not
what would you need to do? lots
you would need to manage a socket connection, and listen for incoming data, once you heard the enter key, the proceed to a switch or if's which would get the first word, and call that function (optional), then process the rest of the input and do the function. why you would want this (aside from the coolness factor) is beyond me. unless you have a expert typist, i would not want to control a robot like this
this would definitely go in the summer project bin
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Last edited by byteit101 : 24-03-2010 at 15:40.
Reason: typo
|