View Single Post
  #210   Spotlight this post!  
Unread 15-04-2012, 21:51
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: 2012 Mid-Atlantic Robotics FRC Region Championship

Quote:
Originally Posted by galewind View Post
We blew a jag, which caused our system to go batty...

My HYPOTHESIS is that since it was on our CAN network, it caused our 2CAN to go haywire, which caused it to stop responding. This caused (or something else caused) the cRio to max out its CPU cycles and stopped responding.

In the meantime, our turret (which is on a separate victor) started turning, and the system wasn't watching our potentiometer voltage go beyond its desired limit. Thus, we sheared our turret belt and the potentiometer coupling (just a piece of surgical tubing).
When you attempt to use CAN to communicate to a blown Jag it blocks the thread until it timeout (default is 0.02sec which is 1 normal teleop cycle). I recommend running all CAN Network communications in separate threads for each mechanism and out of your main DS communication thread (so that it doesnt delay other functions waiting for a response). In Labview, this usually means placing these commands in separate loops in the Periodic Taks VI.
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"