Go to Post if your robot weighs 1-1/2 tons, you have bigger problems then the legality of that jack... - ekapalka [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-01-2010, 19:44
GGCO's Avatar
GGCO GGCO is offline
Registered User
AKA: Grant
FRC #3357
Team Role: Alumni
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Michigan
Posts: 406
GGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to behold
Send a message via AIM to GGCO
How to Spade and Neuter the Dog

I posted this on this thread, but I thought that is deserves its own post.

After spending 7 hours working on the robot today, we found a solution to our problems.

Quote:
First some background:
We heard that the system watchdog issue was cause by communications lag between the driver station and the robot. I know that wireless lag is often caused by interference and other devices using the same channel. We are working in an area that has many other Wi-Fi access points. The Linksys router we got in our kit is not dual band and only operates on the 2.4Ghz frequency. The instructions from FIRST said to set the router channel to Auto. This is bad practice in my opinion. I think it’s better to know your Wi-Fi environment and set a fixed channel accordingly.

How we fixed it:
We used a program called InSSIDer to scan for access points in our area. It gives a nice graph that shows which access points overlap each other. Channels 1, 6, and 11 are the best because they do not overlap. Channel 1 had the least access points so we set our router to use channel 1. After changing the channel we no longer experienced the watchdog issue.

The short version:
Try changing your router wireless router channel to 1, 6 or 11.
- Nate (the great) from Team 3357
We also disabled the watchdog and made sure to kill it in the autonomous() and operatorControl() functions. Hope that helps!

http://twitter.com/cometsrobotics
http://youtube.com/user/cometsrobotics
__________________
"Great spirits have always encountered violent opposition from mediocre minds" - Albert Einstein
The FIRST Alliance
COMETS Robotics
Website

  #2   Spotlight this post!  
Unread 22-01-2010, 20:21
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: How to Spay or Neuter the Dog

Perhaps the spade is used to collect doggie exhaust. Or did you mean to dig a hole?

From context I think you meant spay.

No one dog can be both spayed and neutered; the former is for females, the latter for males.
__________________

I am N2IRZ - What's your callsign?
  #3   Spotlight this post!  
Unread 22-01-2010, 20:39
mobilegamer999 mobilegamer999 is offline
Registered User
FRC #3357 (Comets)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Michigan
Posts: 124
mobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the rough
Re: How to Spade and Neuter the Dog

true, but naming error is my fault cus i was the one who told him what to name it, lol.
__________________
  #4   Spotlight this post!  
Unread 22-01-2010, 20:52
GGCO's Avatar
GGCO GGCO is offline
Registered User
AKA: Grant
FRC #3357
Team Role: Alumni
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Michigan
Posts: 406
GGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to behold
Send a message via AIM to GGCO
Re: How to Spade and Neuter the Dog

Sorry, but after spending 7 hours working on the robot today I am not exactly thinking straight.
__________________
"Great spirits have always encountered violent opposition from mediocre minds" - Albert Einstein
The FIRST Alliance
COMETS Robotics
Website

  #5   Spotlight this post!  
Unread 26-01-2010, 16:56
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Re: How to Spade and Neuter the Dog

Quote:
Originally Posted by GGCO View Post
We are working in an area that has many other Wi-Fi access points. The Linksys router we got in our kit is not dual band and only operates on the 2.4Ghz frequency. The instructions from FIRST said to set the router channel to Auto. This is bad practice in my opinion. I think it’s better to know your Wi-Fi environment and set a fixed channel accordingly.
I'm pretty sure you are supposed to ONLY operate on 5GHz. I don't think you'll be able to connect if you use 2.4 GHz at the competition. Does that mean you have your Wireless Game Bridge set up for 2.4GHz?

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
  #6   Spotlight this post!  
Unread 26-01-2010, 18:23
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: How to Spade and Neuter the Dog

The watchdog serves an important purpose. You should have spent 7 hours restructuring your code so that it does not fire instead of turning it off.

The timeout is much longer than the normal interval between messages, around 100ms I think. It is OK to turn it off while debugging since numerous print statements, stepping through code/VIs etc will sometimes trigger it. But if it is firing in your final code, it is a BIG problem. It means your software is spending large amounts of time doing something between the calls to pet the watchdog. This is normally an indication that something else is seriously wrong, the kinds of things that can make servos act funny, cameras not respond, communications fail etc if not fixed.

Good luck.
  #7   Spotlight this post!  
Unread 26-01-2010, 21:04
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: How to Spade and Neuter the Dog

Quote:
I think. It is OK to turn it off while debugging since numerous print statements, stepping through code/VIs etc will sometimes trigger it.
This issue(I believe) was about the system watchdog, which is a part of the firmware and cannot be easily disabled. That said, while disabling the "user" watchdog is sometimes needed for debugging, one needs to keep in mind that disabling this means turning off the primary safety system on the robot. Especcially when you can specifically see that the Watchdog is dying, you should be very cautious when running the robot without it enabled.
__________________
Get yer robot source code here!
  #8   Spotlight this post!  
Unread 26-01-2010, 21:30
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,587
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: How to Spade and Neuter the Dog

Quote:
Originally Posted by Bryscus View Post
I'm pretty sure you are supposed to ONLY operate on 5GHz. I don't think you'll be able to connect if you use 2.4 GHz at the competition. Does that mean you have your Wireless Game Bridge set up for 2.4GHz?

- Bryce
Rookie teams were given a WRT160N router which only supports 2.4ghz. They were instructed to set the bridge to 2.4ghz. I assume that at competition they will configure it to 5ghz, probably at the same time as they do the WPA key.
  #9   Spotlight this post!  
Unread 27-01-2010, 09:12
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Unhappy Re: How to Spade and Neuter the Dog

Quote:
Originally Posted by Joe Ross View Post
Rookie teams were given a WRT160N router which only supports 2.4ghz. They were instructed to set the bridge to 2.4ghz. I assume that at competition they will configure it to 5ghz, probably at the same time as they do the WPA key.
So they'll be running on an untested system for the entire development period? Doesn't this sound like a bad idea to anyone else? How are teams going to know they don't have a defective gamebridge until then? That's just ridiculous.

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you run the pneumatics through the CRio w/o using the Jaguars and the Spikes brreadd Pneumatics 3 20-11-2009 15:35
How to conect solenoids to the circuit board. and how to program it...??? arpitshah Pneumatics 6 13-01-2008 15:06
How to setup CNC for making dog gears sanddrag Technical Discussion 4 01-01-2005 23:21
Spade Connectors archiver 2001 1 23-06-2002 23:18
Triumph The Insult Comic Dog 5/24 Show D.J. Fluck Chit-Chat 1 29-05-2002 12:20


All times are GMT -5. The time now is 21:26.

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