View Single Post
  #5   Spotlight this post!  
Unread 09-02-2012, 15:07
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 182
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Re: Sending SmartDashboard Data to cRIO without pressing [ENTER] key

Quote:
Originally Posted by dkearle View Post
Hi,

Our team is attempting to tune a PID controller using the SendablePIDController and corresponding widget on the SmartDashboard. We ran into a little problem last night. We successfully displayed the widget on the dashboard. With our robot enabled, we typed in a new P constant on the SmartDashboard and then hit the [ENTER] key, which immediately disabled our robot.

Last year on the driver station the space bar was used to disable the robot. This year it is the [ENTER] key.

Does anyone have a solution on how I can enter data into the SmartDashboard triggering the SmartDashboard to recognize the new data and send it to the robot, without me using the [ENTER] key on the driver station? I don't want to keep inadvertently disabling my robot when I'm trying to see the effect of a new P constant in my PID controller.

Thank you!
Dianne
I entered a bug report for this (http://firstforge.wpi.edu/sf/go/proj...d/tracker.bugs) on the FIRST Forge project site for the Smartdashboard. I was able to get around this problem by running the driver's station on one laptop and the smart dashboard on a second laptop. However, it still didn't really work out for me because there was still something funky going on with the PID tuning. Whenever i tried to set the setpoint for the PID it would go to zero. Not sure if this was a side effect of running in the two laptops configuration.
Reply With Quote