|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
NetConole replacement
I have written a net console replacement. This is a Windows console app (i.e. run in a CMD window) called netterm (attached here). One of the advantages of this program is the support for ANSI font color.
http://en.wikipedia.org/wiki/ANSI_escape_code Our robot code has macros printing "Info", "Warning" or "Error" messages. Info lines are green, Warning lines are yellow and Error lines are red. When debugging the robot code, we found that debug spews are sometimes too chatty especially when using the CANJaguar class. Sometimes, our debug messages got drowned in the ocean of messages. Having different colors help us to spot important messages our code printed out. Another useful option is the ability to save the debug session into a log file. For syntax on how to use this tool, type "netterm /help". The first time you run this tool, you need to provide your team number. For example, netterm /team=492 The program will save this info into the registry so the next time you run it, you just simply type: netterm Don't worry about the other options. For FRC application, all options should have the correct default values. The options are for communicating with other applications. Since the app monitors UDP port 6666, when running the first time, Windows Firewall will prompt you for permission to monitor network ports. Last edited by mikets : 21-01-2013 at 04:54. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|