Go to Post A few months from now I'll be walking to school and then I'll suddenly be attack by a rogue robot trying to feed me a golden ball or something wont I? - Marcel [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 04-03-2012, 20:33
mryeagle mryeagle is offline
Registered User
AKA: Jeff Yeagle
FRC #2229 (ROBOSHOP)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Plymouth Meeting PA
Posts: 20
mryeagle is an unknown quantity at this point
How do I replicate frc field network back at school

@ hatboro everything worked fine in autonomous. ( in fact in practice round we hit both high goals)
While Tethered in the pits we had full control of our drive wheels, lift and shooter.



Our issues began and ended while we were in teleop on the field.

Our driver reported, and it was obvious that our bot would suddenly launch into reverse at the beginning of teleop and the oss of drive control quickly ensued.

Ironically everyone who looked at our code had a different take, and although all the suggestions were appreciated none of these ideas seemed to be glaring issues.

we did take several suggestions which were incorporated into our labview code.

With little time (6 hrs) to work on our bot between now and our next mar event (in week two!) I'd like to know if it's possible to recreate the wireless situation that's experienced on the field while we're testing at school this week?

I should add that during testing last week @ school our robot worked flawlessly issuing our wireless router!!

Please keep in mind that I'm the structural guy and not well versed in labview

Any ideas?
__________________
high tech, low down.

http://lh3.ggpht.com/_u-f_SuDRS8E/SjhtxflFZNI/AAAAAAAAArA/wNWwcr2dOWI/s144/DSC00472.JPG

Last edited by mryeagle : 04-03-2012 at 20:56.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-03-2012, 20:49
Johnny_5's Avatar
Johnny_5 Johnny_5 is offline
Whose cooking motor?
AKA: Isaac
FRC #3484 (Short Circuit)
Team Role: College Student
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Marysville Ohio
Posts: 150
Johnny_5 has a spectacular aura aboutJohnny_5 has a spectacular aura about
Re: How do I replicate frc field network back at school

I have done some research about the field and can get you close to what you are going to experience on the field. It won't be exact as what you are experiencing is the network lag. There are many devices on field that work on the network. From the DS to the robot it must pass through almost 4 switches till it gets to the AP on the robot.

However this could also be caused by a few other errors.

Can you get into any more detail about the problem such as if you are losing comms or any errors in your diagnostic tab?
Reply With Quote
  #3   Spotlight this post!  
Unread 04-03-2012, 20:56
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: How do I replicate frc field network back at school

Have you tried running your Driver Station in Practice mode? When you select Teleop or Autonomous, there is a Practice option. It will run the robot similarly to the field -- 15 seconds of Autonomous mode and then 2 minutes of Teleop.

I worked with a team that had a similar problem at Boston last year. For the first ~30 seconds of Teleop, their drivers would have no control, then suddenly it would come back, and they were unable to replicate it in the pits either. The problem was that their Autonomous code ran for too long (specifically 30 seconds too long) because a loop in their program ran for 45 seconds. I'm guessing a similar thing is going on here, just for the entire match. You wouldn't notice it in the pits because you're skipping over the autonomous code when you click Enable and you're not in Practice mode. Make sure you don't have any loops in your autonomous program that last longer than 15 seconds.

Sorry if I'm sounding kinda vauge here, I only know the C++ and Java APIs.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"

Last edited by Radical Pi : 04-03-2012 at 20:58. Reason: Explain Practice mode a bit better
Reply With Quote
  #4   Spotlight this post!  
Unread 04-03-2012, 21:20
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: How do I replicate frc field network back at school

The DS logs some information about the field communications. Have you reviewed it? If you go to the Program Files/FRC Driver Station folder, you'll find a log file viewer, and it will automatically show you the log files by date. Look through them and perhaps compare them to some practice matches from your school. And I'll second the Practice match run-through. It shouldn't be that common for the LV framework to have auto run into tele, but with enough modifications to the framework, it can happen.

If you don't see any issues with the comms, I'm curious to see what they look like. The log files aren't very large, so you may be able to post them raw, otherwise the screenshot of the interesting parts may work better.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 04-03-2012, 21:38
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 251
BitTwiddler is on a distinguished road
Re: How do I replicate frc field network back at school

Quote:
Originally Posted by mryeagle View Post
Our issues began and ended while we were in teleop on the field.
Our driver reported, and it was obvious that our bot would suddenly launch into reverse at the beginning of teleop and the oss of drive control quickly ensued.
Any ideas?
This may sound a bit in left field but something similar happened to us in 2010. We discovered a ground wire had come loose in our driver controls and caused all the joystick readings to go haywire. Happened in teleop mode even though autonomous worked fine.

Last edited by BitTwiddler : 04-03-2012 at 21:42.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-03-2012, 22:19
mryeagle mryeagle is offline
Registered User
AKA: Jeff Yeagle
FRC #2229 (ROBOSHOP)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2007
Location: Plymouth Meeting PA
Posts: 20
mryeagle is an unknown quantity at this point
Re: How do I replicate frc field network back at school

Quote:
Originally Posted by BitTwiddler View Post
This may sound a bit in left field but something similar happened to us in 2010. We discovered a ground wire had come loose in our driver controls and caused all the joystick readings to go haywire. Happened in teleop mode even though autonomous worked fine.
Our driver station is pretty simple, and I don't think this is the issue, but that's a new item to check!!!
__________________
high tech, low down.

http://lh3.ggpht.com/_u-f_SuDRS8E/SjhtxflFZNI/AAAAAAAAArA/wNWwcr2dOWI/s144/DSC00472.JPG
Reply With Quote
  #7   Spotlight this post!  
Unread 04-03-2012, 23:05
Anupam Goli's Avatar
Anupam Goli Anupam Goli is offline
PCH Q&A co-founder/Scouting Mentor
AKA: noops
FRC #1648 (G3 Robotics)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2008
Location: Atlanta, Georgia
Posts: 1,242
Anupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond repute
Re: How do I replicate frc field network back at school

You can download the FMS Lite and use that to see if it is an issue perhaps with your communication to FMS.
__________________
Team 1002: 2008-2012
Team 1648: 2012-2016
Georgia Tech Class of 2016
Reply With Quote
  #8   Spotlight this post!  
Unread 04-03-2012, 23:17
Jeff Pahl's Avatar
Jeff Pahl Jeff Pahl is offline
likes to look at shiny things...
FRC #5148 (New Berlin Blitz)
Team Role: Engineer
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Waukesha, WI
Posts: 344
Jeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond reputeJeff Pahl has a reputation beyond repute
Re: How do I replicate frc field network back at school

Quote:
Originally Posted by Greg McKaskle View Post
And I'll second the Practice match run-through. It shouldn't be that common for the LV framework to have auto run into tele, but with enough modifications to the framework, it can happen.
Greg McKaskle
I'll third this! I've seen issues multiple times, including in LV, where teams are doing something in Auton that does not transition properly into Teleop. Doing the practice match simulation will tell you real quick if it's in your code or in the field. If it happens consistently, I'm real inclined to believe it's in your code.
__________________
Team 5148 - 2014 Wisconsin Regional Rookie All-Stars!!

Mentor: 1379: 2004-2008 / 2530: 2008-2013 / 2861: 2009 / 5148: 2014-??
Lead Robot Inspector: 10,000 Lakes '09 - '11 / Lake Superior '11-'12 / Northern Lights '13, '15 - '16 / Championship '09 - '12, '14 - '15
Attending/Inspecting 2017: TBD, Wisconsin, STL Championship

"Sometimes the questions are complicated and the answers are simple" -Dr. Seuss
Reply With Quote
  #9   Spotlight this post!  
Unread 05-03-2012, 10:17
kkumfert kkumfert is offline
Registered User
FRC #2229
 
Join Date: Mar 2012
Location: 19462
Posts: 1
kkumfert is an unknown quantity at this point
Re: How do I replicate frc field network back at school

Hi everyone. I am also on MrYeagle's team and can try to add more details as to what we've done and what we've seen...

We have run it in Practice mode and typically it functions wonderfully. Once it didn't (tethered), but the other 9 times it did.

The errors we're getting are that teleop is running too slow and the robotdrive isn't getting called fast enough. We didn't have much in teleop in the first place, but we moved most of it out to PeriodicTasks, but still had the problem once (but not all the time???)

The weirdest thing about this is that there is no call in autonomous to the drive wheels at all. we shoot, load and shoot again in autonomous. We don't drive at all, yet once switched into teleop (on the field) the robot flies backwards and can't be driven.

In the pit, on the practice field and even wirelessly at home, we haven't experienced this problem at all so we're having a hard time fixing the issue. We only seem to have the problem in the competition when we can't debug... very frustrating!!!

any advice would be greatly appreciated.

thanks
Reply With Quote
  #10   Spotlight this post!  
Unread 05-03-2012, 16:05
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: How do I replicate frc field network back at school

Did it happen every time your robot was on the competition field? It's possible that your joystick/gamepad was bumped at an unfortunate time while the Driver Station computer was starting up, and the system might have gotten a bad calibration and thought that the full forward position was "neutral".
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 11:17.

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