View Single Post
  #18   Spotlight this post!  
Unread 16-01-2013, 04:23
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Sending SmartDashboard Data to cRIO without pressing [ENTER] key

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->
__________________
Reply With Quote