VT100 escape sequences or up a line on NetConsole

Does the NetConsole support VT100 escape sequences, or is there any other way for me to go up a line in it? Here is the code I want to use:

cout << "\x1bA";

So that I can overwrite previous buffer stuff.

I don’t believe the NetConsole client supports that escape sequence, but trying it would be your best bet.[/quote]

:eek:

Our robot is in the bag… would it be possible for someone to test if it works?

I’m going to (without testing) give you a pretty solid “no dice”. The NetConsole is pretty limited in what it supports. There are a few replacements out there, but if you’re looking to update things frequently (what I inferred from your question) you’re probably better off in the long run learning and using the smart dashboard.

Smart Dashboard calls are pretty easy to drop in, here are some common conversions:

For numbers, replace

 cout <<  "Value: " << number_val << endl; // Substitute printf's to taste 

with

 SmartDashboard::PutNumber('Value', number_val); 

For booleans:

 cout << is_running ? "Motor is running" : "No motor running" << endl;

with

 SmartDashboard::PutBoolean("motor running", is_running);

Of course, don’t take my word for it, always check the docs, for example the copy hosted here: http://www.virtualroadside.com/WPILib/class_smart_dashboard.html or the one that came with your WPILib installation (at C:\WindRiver\docs\extensions\frc\WPILib C++ Reference.chm).