View Single Post
  #1   Spotlight this post!  
Unread 18-03-2013, 14:12
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 343
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
SmartDashboard - PID Editor Crashes C++ CRio Code

Via LiveWindow and the SmartDashboard, we are able to successfully edit the P value of our swerve drive subsystem code. We are currently tuning the PIDs linking our angle sensors to our steeringmotors.

However, whenever we edit the I or D values in the Smart Dashboard (the instant we change focus away from these controls), the robot crashes.

Source Code which demonstrates the problem is at:

Swerve Drive Code

http://code.google.com/p/kauaibotsfi...riveSystem.cpp

Angle Sensor Code

http://code.google.com/p/kauaibotsfi...ngleSensor.cpp

If anyone has any ideas as to how to resolve this, we would greatly appreciate it. The promise of LiveWindow to accelerate our PID tuning progress is tantalizing, but seemingly unreachable, to us....
Reply With Quote