View Single Post
  #3   Spotlight this post!  
Unread 22-02-2012, 11:49
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Vision processing works in RUN, not in START-UP

Quote:
Originally Posted by ehlochbr View Post
We had the same problem.

In our code, we noticed that each time the project was restarted (like after a computer reboot) all the vision values that we had altered in the front panel of the vision.vi (vision size, particle count, intensity...etc) had changed back to their original setting. What we had to do was go and change all the controls in the vision.vi to constants in the block diagram editor so we could be sure that they wouldn't change when the code was initially started.

Also, we noticed that our code only worked when we switched to the intensity tab on the vision.vi front panel (I think it starts out on the color tab by default). The weird thing about this is that in the block diagram it shows that the intensity tab is what's set to default. We altered the tabs on the front panel so that the intensity tab was first and the color tab was second.

After that, everything was fine. Hope this helps.
That sounds possible. We did mess with setting the "Intensity, color" etc, tabs to a constant and may have caused it to default to the wrong thing. We won't know for sure until week 3.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote