Go to Post We have not always been a winning team but we have always tried to be a quality team. - WynS [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-14-2013, 07:10 PM
Merfoo's Avatar
Merfoo Merfoo is offline
Registered User
FRC #0955 (CV Robotics)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: America
Posts: 48
Merfoo is an unknown quantity at this point
Getting Input from the Smartdashboard

Hello, so I'm trying to get input from smartdashboard using the built in getNumber function. However when trying to get the data it doesn't seem to get the update data. For example I'll have a box and when I enter in a new data it still gets the original data. I know if you press enter it'll update it, but it'll also disable the robot since the emergency disable button. I've tried just putting the mouse in another box but that doesn't work. Does anyone have a solution to the problem? Sorry if its long.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-14-2013, 08:08 PM
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Getting Input from the Smartdashboard

I don't know about the solution to your primary problem, but I do know that someone here on CD developed an enter key simulator button to get around the estop button.

http://www.chiefdelphi.com/forums/sh...0&postcount=12
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
  #3   Spotlight this post!  
Unread 01-14-2013, 08:15 PM
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,547
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: Getting Input from the Smartdashboard

Here's another workaround, from that same thread: http://www.chiefdelphi.com/forums/sh...8&postcount=17
Reply With Quote
  #4   Spotlight this post!  
Unread 01-14-2013, 09:24 PM
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Getting Input from the Smartdashboard

You have to hit enter after typing in your value to send it to the cRIO

Im also getting troubles with the emergency stop, but its pretty rare (every 1-2 hours of testing) so if anyone finds a solution I'm subscribed
Reply With Quote
  #5   Spotlight this post!  
Unread 01-14-2013, 09:46 PM
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,547
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: Getting Input from the Smartdashboard

Pressing space when the robot is enabled causes an e-stop.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-15-2013, 12:12 AM
Merfoo's Avatar
Merfoo Merfoo is offline
Registered User
FRC #0955 (CV Robotics)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: America
Posts: 48
Merfoo is an unknown quantity at this point
Re: Getting Input from the Smartdashboard

Wow thanks guys, I cant wait for tomorrow to see if works! I did try putting the mouse in another box but that didn't work for me ... But I probably did something wrong then, guess I'll find out tomorrow.
Reply With Quote
  #7   Spotlight this post!  
Unread 01-15-2013, 12:52 AM
Merfoo's Avatar
Merfoo Merfoo is offline
Registered User
FRC #0955 (CV Robotics)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: America
Posts: 48
Merfoo is an unknown quantity at this point
Re: Getting Input from the Smartdashboard

So I added the the enter key extension to the "\Program Files\SmartDashboard\Extensions" And the extension shows up when I click the .jar file in the "\Program Files\SmartDashboard" folder, but it doesn't when I launch it through the Driverstation. Do you guys know how to get it show up?
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 07:51 AM.

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