Go to Post Attempted to like Andrew's comment and then realized this wasn't Facebook :P - afowl [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 15-03-2012, 21:56
Whateveryousay's Avatar
Whateveryousay Whateveryousay is offline
Team 1683 Techno Titans
AKA: Tony Chen
FRC #1683 (Techno Titans)
Team Role: Mechanical
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Georgia
Posts: 51
Whateveryousay is an unknown quantity at this point
at Peachtree Regional, cRIO overloading, Help

We are team 1683 TechnoTitans, and today was our first day at peachtree regional.

Our programmers programmed the autoaiming and auto RPM adjusting based on the distance we are getting from our camera. It went fine when we were testing at school when we just had our shooters. But today when we put it on the robot, our cRIO overloaded, and it is running at 100%. We cannot get any update on the dashboard (which includes any camera images, and RPM, encoder feedbacks.)

We are in desperate help right now, we will take any suggestions and try it out tomorrow.

Thank you very much
__________________
2011 Peachtree Regional Innovation in Control Award
2011 Peachtree Regional Semifinalist
2010 Peachtree Regional Champion
2010 Peachtree Regional Creativity Award
2008 Peachtree Regional Finalist
2007 Bayou Regional Champion
2006 Peachtree Regional Finalist
2005 Peachtree Regional Quarterfinalist
Reply With Quote
  #2   Spotlight this post!  
Unread 15-03-2012, 21:59
Alex Cormier's Avatar
Alex Cormier Alex Cormier is offline
www.TwoPencilDesigns.com
AKA: Grizz, Twinkletoes, PitBull1126
FRC #1405
Team Role: Coach
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Rochester, NY
Posts: 5,580
Alex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond repute
Re: at Peachtree Regional, cRIO overloading, Help

Try to talk to Jeff Downs , your FTA at the event. He is a very smart person and should be able to help out.
__________________

Two Pencil Designs - Vinyl Graphics, Bumper Numbers, and Strategy Items!
Like us on Facebook & follow us on Twitter
Facebook.com/TwoPencilDesigns & TwoPencilDesign
Reply With Quote
  #3   Spotlight this post!  
Unread 15-03-2012, 22:01
Whateveryousay's Avatar
Whateveryousay Whateveryousay is offline
Team 1683 Techno Titans
AKA: Tony Chen
FRC #1683 (Techno Titans)
Team Role: Mechanical
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Georgia
Posts: 51
Whateveryousay is an unknown quantity at this point
Re: at Peachtree Regional, cRIO overloading, Help

Quote:
Originally Posted by Alex Cormier View Post
Try to talk to Jeff Downs , your FTA at the event. He is a very smart person and should be able to help out.
I am just worrying that he wont have any time tomorrow morning when the seeding match starts
__________________
2011 Peachtree Regional Innovation in Control Award
2011 Peachtree Regional Semifinalist
2010 Peachtree Regional Champion
2010 Peachtree Regional Creativity Award
2008 Peachtree Regional Finalist
2007 Bayou Regional Champion
2006 Peachtree Regional Finalist
2005 Peachtree Regional Quarterfinalist
Reply With Quote
  #4   Spotlight this post!  
Unread 15-03-2012, 22:10
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,823
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: at Peachtree Regional, cRIO overloading, Help

You'll need to trim your code whatever language you're using.

I'd start by disabling anything you can do without to begin with just to make sure you're operational for the first few matches, then get help making it more efficient.

There will be a Control Systems Advisor (CSA) in the pits. Find them and ask for help. That's what they do.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 15-03-2012, 22:16
Whateveryousay's Avatar
Whateveryousay Whateveryousay is offline
Team 1683 Techno Titans
AKA: Tony Chen
FRC #1683 (Techno Titans)
Team Role: Mechanical
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Georgia
Posts: 51
Whateveryousay is an unknown quantity at this point
Re: at Peachtree Regional, cRIO overloading, Help

Quote:
Originally Posted by Whateveryousay View Post
I am just worrying that he wont have any time tomorrow morning when the seeding match starts
We programmed in JAVA.
And that is our plan right now, we are going to comment out the auto aiming code for the first few matches, and at least have somethere there. We will still be able to make shots, but just less accurate.

And tomorrow we will find those people and ask for help

Thank you!
__________________
2011 Peachtree Regional Innovation in Control Award
2011 Peachtree Regional Semifinalist
2010 Peachtree Regional Champion
2010 Peachtree Regional Creativity Award
2008 Peachtree Regional Finalist
2007 Bayou Regional Champion
2006 Peachtree Regional Finalist
2005 Peachtree Regional Quarterfinalist
Reply With Quote
  #6   Spotlight this post!  
Unread 15-03-2012, 22:21
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: at Peachtree Regional, cRIO overloading, Help

Try reducing framerate or image size or both on your camera code to make things more efficient.

As others have said, make sure you run in your matches then talk to your CSA. If they can't help they may be able to at least help you track down an experienced Java team that can.
Reply With Quote
  #7   Spotlight this post!  
Unread 15-03-2012, 22:42
Aaron Young Aaron Young is offline
Registered User
FRC #3824
 
Join Date: Mar 2012
Location: Knoxville
Posts: 1
Aaron Young will become famous soon enough
Re: at Peachtree Regional, cRIO overloading, Help

We had the same problem at the Smokey Mountain Regions that we finally figured out today (we are also at the Peachtree Regionals). The issue is the flood lights on the main field (and possibly the ceiling lights). The camera tries to auto calibrate based on the field lighting, which caused the processing on our images to find so many targets that the cRio was not able to keep up with other processing. The solution was to point the camera at the goals (we are using the green LED light array) and then fix the white balance and exposure. We also discovered that you can setup the driver station dashboard to take images during the match, which can be used to optimize the image processing. If you have any questions, please drop by team 3824 and we can show you the setup on the camera. Ask for Aaron.
Reply With Quote
  #8   Spotlight this post!  
Unread 15-03-2012, 22:46
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: at Peachtree Regional, cRIO overloading, Help

I second what RufflesRidge and Mark McLeod suggest.

I don't know if this helps, since we use the Iterative Robot template and C++ , but syntax is syntax - ha!

The Iterative Robot template provides DisabledPeriodic, AutonomousPeriodic and TeleopPeriodic, functions with counters like :

m_telePeriodicLoops ... look famaliar?

The Periodic functions loop at 5msec which we have found will swamp the cRio if we have a lot to control. So we use a modulo to schedule most of what we do at slower rates:

if((m_telePeriodicLoops % 2 ) == 0)
{
// do stuff every 10msec
}

would be a 10msec loop for instance.

We typically find that 10-20 msec loops are more than adequate for smooth control.

I miss not being at Palmetto this year. Good Luck!
Eric
__________________

Don't PANIC!
S. P. A. M.
Reply With Quote
  #9   Spotlight this post!  
Unread 15-03-2012, 22:57
chris1592's Avatar
chris1592 chris1592 is offline
Chris
no team
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2007
Location: Thailand
Posts: 48
chris1592 is a jewel in the roughchris1592 is a jewel in the roughchris1592 is a jewel in the rough
Re: at Peachtree Regional, cRIO overloading, Help

Team 1592 was running into some problems with putting all of our code in the teleop.vi (We are using Labview). We found that if we ran tasks periodically and only ran them every 10-20 ms like Eric suggested, we greatly reduced the load on our cRIO.

I'm not too sure on the difference that it is in JAVA but I would try to run tasks periodically instead of continuously.

Chris
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 16:04.

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