Instead of using the Dashboard to send data to the cRIO, we use the debug console instead. Our FRC library has a module that enables us to interact with the cRIO using the debug console. Basically, the cRIO program provides a command line interface printing a command line prompt on the debug console. Then the user can type the command to be executed with command line parameters. For example, the following shows an excerpt on what the debug console looks like:
Code:
Console-> help
q - Exit console mode
help - List commands and info about them
listobj - List registered command objects
listvar - List variables and info about them
get - Get the value of a variable
Console-> get DriveBase.DriveKp
Kp = 0.5
Console-> set DriveBase.DriveKp 0.55
Console->