|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
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:
Code:
cout << "\x1b[A"; |
|
#2
|
|||
|
|||
|
Re: VT100 escape sequences or up a line on NetConsole
I don't believe the NetConsole client supports that escape sequence, but trying it would be your best bet.
|
|
#3
|
|||||
|
|||||
|
Re: VT100 escape sequences or up a line on NetConsole
Our robot is in the bag... would it be possible for someone to test if it works? |
|
#4
|
||||
|
||||
|
Re: VT100 escape sequences or up a line on NetConsole
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 Code:
cout << "Value: " << number_val << endl; // Substitute printf's to taste Code:
SmartDashboard::PutNumber('Value', number_val);
Code:
cout << is_running ? "Motor is running" : "No motor running" << endl; Code:
SmartDashboard::PutBoolean("motor running", is_running);
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|