Go to Post At least I can appreciate the humor in this LOLCODE; it isn't funny when our our robot goes backwards in hybrid mode - sgreco [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 09-01-2013, 13:22
GrimmReaper's Avatar
GrimmReaper GrimmReaper is offline
Registered User
FRC #2046 (Bear Metal)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Maple Valley, WA
Posts: 24
GrimmReaper is on a distinguished road
Re: Sending SmartDashboard Data to cRIO without pressing [ENTER] key

I was just testing last night with the 2013 SmartDashboard and it seems like i still have this problem? I couldn't seem to get a new value in a text field to the robot without pressing enter. Has anyone else tried this yet? is there another way to get the value to update? I would LOVE to be able to run both smartDashboard and the driver station on one computer AND update values without disabling the robot :-)

Let me know if there's a solution i'm not aware of,
thanks!
Reply With Quote
  #17   Spotlight this post!  
Unread 09-01-2013, 15:35
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Sending SmartDashboard Data to cRIO without pressing [ENTER] key

For the Enter key problem, if you select another text field with the mouse, it will commit the value in the text field you just changed. So type in the numbers, don't hit enter, instead click with the mouse in another field.

That will commit the change to the field.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #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: 674
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
  #19   Spotlight this post!  
Unread 18-01-2013, 17:09
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,590
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Sending SmartDashboard Data to cRIO without pressing [ENTER] key

According to the Software Notes the version of SmartDashboard released today (in the C++ and Java updates) will commit values when you tab.
Reply With Quote
  #20   Spotlight this post!  
Unread 18-01-2013, 19:49
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 592
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Sending SmartDashboard Data to cRIO without pressing [ENTER] key

Yup, it was a bug where it was working in the LiveWindow (test mode) but not in the regular SmartDashboard widgets. Should be fixed now, so just click in another field or otherwise get the modified field to lose focus and the value will commit.

Also, notice that we'll automatically register all your actuators and sensors for test mode so that you can see values and manipulate them without having to write any other code.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:38.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi