Go to Post "Congratulations to our FIRST team coming back from the championships in St. Louis." (We all applaud) "Remember, if you're not FIRST, you're last!" - Our pilot on the second plane back home. - demosthenes2k8 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: Do you ever lose control of your robot?
Never- our controls are always 100% with no sluggishness nor dropouts 26 37.14%
we started paying careful attention to radio placement and never had another problem 17 24.29%
Yes we sometimes have sluggishness and dropouts: We always just blame it on our software. 26 37.14%
We thought sluggishness was a requirement listed in the rule book 9 12.86%
Multiple Choice Poll. Voters: 70. You may not vote on this poll

Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-03-2011, 22:46
boomergeek's Avatar
boomergeek boomergeek is offline
Registered User
AKA: Mr. D (Dick DiPasquale)
FRC #0241 (Pinkerton Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Derry, NH
Posts: 191
boomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant future
Robots not under driver control- does it happen- do you determine why?

I'm curious about the prevalence and root cause analysis of issues controlling robots during competition:

Has your drive team ever lost complete control of the robot for a second or more in any match?

Has responsiveness been delayed by more than a quarter of a second and made it unnatural to drive?

Did you have the proper analysis tools to find out a root cause to the problems?

What percentage of control problems were you able to isolate?

What percentage of problems didn't show up again, but had no clear indication of what caused the problem in the first place.

My perception is solid problems are isolated and solved clearly. Intermittent problems and sluggishness are sometimes considered part of life instead of being isolated and resolved.

How do best teams determine that they have enough safety margin on their radio signal to never worry about being in a hard pushing scrum with three other robots in the corner farthest from radio access point?

We were brainstorming about logging voltage, radio signal, transmission delay to the DS and transmission delay from the DS at a 100ms rate and link it to video for the matches.

By the way, the DAP-1522 manual:
"Keep your product away (at least 3-6 feet or 1-2 meters) from electrical devices or appliances that generate RF noise."
ftp://ftp.dlink.com/Multimedia/dap15...manual_120.zip
  #2   Spotlight this post!  
Unread 11-03-2011, 23:50
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,685
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Robots not under driver control- does it happen- do you determine why?

I know we've had responsiveness problems in the pits. They were always associated with a ton of CAN errors. I've yet to discover the root cause of the CAN errors, aside from one of the jaguars always flashes. I'm certain the fact of the CAN errors is what causes the delayed responses, since the CAN libray uses blocking calls, which means everything will stop until the command times out or gets a response. So the program hits a snag, then eventually times out and updates everything with rather older joystick values that haven't been refreshed.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #3   Spotlight this post!  
Unread 12-03-2011, 01:00
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Robots not under driver control- does it happen- do you determine why?

Yes, we've had this intermittently, but it never was a major problem, I believe. Last year with the new Classmate there was an internal issue that would periodically trip the watchdogs at a concerning rate, but we fixed it after searching on Chief Delphi. We sometimes get errors in the diagnostics tab when starting up, but we are quite confident that this is a common occurrence during boot-up (it doesn't affect control since we haven't enabled yet). Most of the time when the robot hiccups it's because of a watchdog error, although most of those times we don't even notice it; it seems to be instant. We often can't think of what might be wrong, though. But we would check for lagging code, the diagnostics tab of course, a dead battery, if the drivers are cranking on the controls and drawing too much current...mostly basic things (we don't have a plan like you mentioned). Sometimes we do image the cRIO and that's usually a good "reset" point to start from.
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
  #4   Spotlight this post!  
Unread 12-03-2011, 01:23
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by Kevin Sevcik View Post
I know we've had responsiveness problems in the pits. They were always associated with a ton of CAN errors. I've yet to discover the root cause of the CAN errors, aside from one of the jaguars always flashes.
Always flashes as in the same flash as a disabled Jaguar? (Slow yellow flash?)
Or an intermittent blink? Solid yellow (or Red/Green) - off - working again?

399 had the second during build. It manifested itself as a lag, especially when driving backwards.
We were able to narrow the cause to a single Jag [the one that intermittently would flash], and by removing it solved the unresponsiveness and all of our CAN issues.

Under BDC-COMM, that Black Jaguar would remove itself from the CAN bus and not respond until it was re-enumerated, when it was commanded to go a certain direction [Backwards].
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
  #5   Spotlight this post!  
Unread 12-03-2011, 09:42
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,685
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Robots not under driver control- does it happen- do you determine why?

You know, I'm not certain if it's always the same jag. It was doing the slow yellow disabled blink and we couldn't see it on the CAN bus, until we cycled power on the robot and everything was fine. I'll tell our programmer to note which jag is causing the problems the next time it happens and we might just swap it out for a spare one if it's the same one.

Related note: was your problem jag a black jaguar on your drivetrain or another system subject to sudden heavy current reversals? The gray jags have issues with sudden reversals blowing up gate drivers and disabling half the h bridge. Perhaps the new ones are subject to some other, more unlikely sort of failure when hit with a sudden reversal.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #6   Spotlight this post!  
Unread 12-03-2011, 11:51
boomergeek's Avatar
boomergeek boomergeek is offline
Registered User
AKA: Mr. D (Dick DiPasquale)
FRC #0241 (Pinkerton Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Derry, NH
Posts: 191
boomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant future
Re: Robots not under driver control- does it happen- do you determine why?

You can sent the Jaguars to limit the rate of voltage change over time.

/**
* Set the maximum voltage change rate.
*
* When in PercentVbus or Voltage output mode, the rate at which the voltage changes can
* be limited to reduce current spikes. Set this to 0.0 to disable rate limiting.
*
* @param rampRate The maximum rate of voltage change in Percent Voltage mode in V/s.
*/
void CANJaguar::SetVoltageRampRate(double rampRate)
Team 241 needed to add it last year to keep from blowing the original Jaguars.

I've read that some teams reinitialize their Jaguars controlled by the CAN if they become nonresponsive.

I think if CAN timesout during initialization, the Jags may misinterpret or ignore the commands you typically send during periodic code time.
  #7   Spotlight this post!  
Unread 12-03-2011, 15:23
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by Kevin Sevcik View Post
Related note: was your problem jag a black jaguar on your drivetrain or another system subject to sudden heavy current reversals? The gray jags have issues with sudden reversals blowing up gate drivers and disabling half the h bridge. Perhaps the new ones are subject to some other, more unlikely sort of failure when hit with a sudden reversal.
It used to be on the drivetrain.
We noticed that it sometimes stuttered (and would produce a whole bunch of CAN errors) and then we took it out.
When it was run under BDC-COMM, it wasn't connected to any motors just the Serial port and terminator.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
  #8   Spotlight this post!  
Unread 12-03-2011, 16:06
Grim Tuesday's Avatar
Grim Tuesday Grim Tuesday is offline
Registered User
AKA: Simon Bohn
FRC #0639 (Code Red)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Baltimore MD (JHU)
Posts: 1,605
Grim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond reputeGrim Tuesday has a reputation beyond repute
Re: Robots not under driver control- does it happen- do you determine why?

We had a problem with our robot, where it would randomly lose control during matches, but not in the pits. It also happened on the practice field.

We systematically removed things, even the bridge, so we knew it wasn't that. It turned out that it was the camera, making the C-Rio process too much.
  #9   Spotlight this post!  
Unread 12-03-2011, 19:40
willishf willishf is offline
Registered User
FRC #3622 (Robocats)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2000
Location: United States
Posts: 12
willishf is an unknown quantity at this point
Re: Robots not under driver control- does it happen- do you determine why?

We figured out it was the camera as well. I had noticed during development that on occasion the camera image being displayed was 3-5 seconds behind live. So some fairly major buffering is occurring from the cRIO. If the bandwidth is marginal during a match(all teams using cameras or simply interference) then it is reasonable that any commands and responses get stuck in a queue behind video that is being buffered.

We are using Java and could never get the camera commands to set lower resolution/quality. With version 28 our camera connection stopped working for analytics in autonomous mode.

Trading email with wpi I got some advice to make sure the M1011 firmware was updated and to put the camera in DHCP mode versus static IP as indicated in the install guide. This implies the cRIO has a DHCP server and using axis software library to discover cameras. Made the changes and sure enough camera started working again.

Now the bad news. During practice at regionals they had a ton of problems getting robots to register. They fixed the problem at 3:30 and we were able to get in some practice sessions. Autonomous mode in our code was a big problem and we would loose the robot for short or long periods. Since we couldn't find the problem we turned off Autonomous mode but left the camera init in the code.

Our first three matches we had a dead non-controllable robot. Finally figured out issues with bandwidths could be the problem and then occurred to me that the camera was still streaming video and that wasn't helping. Disabled camera in the code and for the most part our robot control problems went away.

We finished 26 out of 60 at Florida Regionals as a rookie team where we really wanted those three matches back and would have placed much higher. We have a very reliable minibot, can score the top row and had autonomous mode working until it was disabled and couldn't spend time with all the other problems with communications. Just found out we won the Rookie Allstar award so we get to go to nationals and will see if we can get another shot at being a competitive robot.

Need to figure out in the Java api if it is possible to use the camera in autonomous mode and then disable it during the match. Has anyone had any luck setting the camera resolution/image quality or disabling the camera from streaming after startup?
  #10   Spotlight this post!  
Unread 12-03-2011, 19:47
KStout#3536's Avatar
KStout#3536 KStout#3536 is offline
Team Capt./Engineer
FRC #3536 (Electro Eagles)
Team Role: Driver
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Hartland
Posts: 10
KStout#3536 is an unknown quantity at this point
Re: Robots not under driver control- does it happen- do you determine why?

i lost complete control of my robot for a entire match for a unkown reason while competing myself. my robot would not respond at all. the people behind the desks said that "everything on their end was fine, so it must be us". but when we went back to the pits and tested it, it worked fine. this happend to a few other teams throughout the day. i was getting very annoyed with the whole thing myself.
  #11   Spotlight this post!  
Unread 12-03-2011, 19:52
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by KStout#3536 View Post
i lost complete control of my robot for a entire match for a unkown reason while competing myself. my robot would not respond at all. the people behind the desks said that "everything on their end was fine, so it must be us". but when we went back to the pits and tested it, it worked fine. this happend to a few other teams throughout the day. i was getting very annoyed with the whole thing myself.
This is exactly what happened to us with CAN on jaguars at Traverse City. We sit still a match. Go back to test it at the pit and everything looks fine. Go out for the next match and the robot sits still again. All this time it says communication is fine. Decide to control our drive instead by PWM and CAN stopped pestering us until a jaguar blew knocking out our entire robot because the CAN stopped the robot due to inability to find all jaguars.
  #12   Spotlight this post!  
Unread 12-03-2011, 20:19
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by MagiChau View Post
This is exactly what happened to us with CAN on jaguars at Traverse City. We sit still a match. Go back to test it at the pit and everything looks fine. Go out for the next match and the robot sits still again. All this time it says communication is fine. Decide to control our drive instead by PWM and CAN stopped pestering us until a jaguar blew knocking out our entire robot because the CAN stopped the robot due to inability to find all jaguars.
What language were you using? 2CAN or Serial?
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
  #13   Spotlight this post!  
Unread 12-03-2011, 20:40
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: Robots not under driver control- does it happen- do you determine why?

Quote:
Originally Posted by biojae View Post
What language were you using? 2CAN or Serial?
We were using the 2CAN and Java.
  #14   Spotlight this post!  
Unread 12-03-2011, 23:07
willishf willishf is offline
Registered User
FRC #3622 (Robocats)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2000
Location: United States
Posts: 12
willishf is an unknown quantity at this point
Re: Robots not under driver control- does it happen- do you determine why?

Was everyone with communication problems streaming video?
  #15   Spotlight this post!  
Unread 12-03-2011, 23:19
Maxzillian Maxzillian is offline
Registered User
AKA: Eric H.
FRC #0935 (RaileRobotics)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2001
Location: Newton, KS
Posts: 24
Maxzillian is on a distinguished road
Send a message via AIM to Maxzillian
Re: Robots not under driver control- does it happen- do you determine why?

Our team encountered no robot control twice this weekend. During both matches the autonomous worked, but once the robot switched to teleop there was no control at all. The team was told both times that the field showed the robot was communicating and the driver's station showed no loss of comm.

I quizzed an alumni who was volunteering for a little more information and he stated that they found that our driver's station was showing no signals from the joysticks. However, after discussing this with our driver, he had diagnosed the joysticks while the match was running and found that the driver's station was seeing them correctly. Keep in mind, the field and the driver's station showed no errors what-so-ever.

After this match we took the robot back to the pits WITHOUT TURNING IT OFF, and tethered it to the driver's station. The robot continued to not respond to any teleop control, but showed that it was communicating and the cRIO was flashing the User1 indicator, which generally indicates that teleop is active. We rebooted the program and it worked fine after that point.

The frustrating bit is not once could we duplicate this while tethered and it never happened while testing the robot for two weeks during the build season. So far it has only happened when connected to the game field. Unfortunately, one time had to occur during a quarter final match. :\

It has been very disappointing and I hope something is done to address it soon as we haven't been able to determine any obvious cause.


Edit: I should point out that our robot is controlled using Jaguars only. Four Jaguars run off PWM signal to control the 4 drive motors (mecanum). Another 4 are operated off CAN to control the tube mechanism. None of the Jaguars work at all when this occurs.
__________________
Team 935 RaileRobotics Alumni: 2001-2004
Team 935 RaileRobotics Mentor: 2009-Present

Last edited by Maxzillian : 12-03-2011 at 23:24.
Closed Thread


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 13:16.

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