Go to Post when answering a question you throw out other teams names (thunder chickens and killer bees)...and a distinguished guest raises his hand and asks if he heard right when I said thunder chickens and asks for an explanation of what a thunder chicken is. - Devon27 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 02-04-2011, 21:48
XXShadowXX's Avatar
XXShadowXX XXShadowXX is offline
They call me Cody.
no team (None currently :\)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Pontiac; MI
Posts: 408
XXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud of
Controller Lag on Feild

My team was experiencing bad controller latency on the field. Our issue is simple as that, when tethered, or communicating wireless with our team equipment there is no issue but as soon as our robot touches the field we slow down.

We ran pings, sniffers, etc. Its to the point that our programming team was starting to think that our drive team was using it as an excuse xD or simply trying to give us problems because we cannot create issue at all.

Any suggestions please?

Thank you
William Cody Laeder
__________________
Is now an engineer thanks to FIRST.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-04-2011, 21:51
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,833
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: Controller Lag on Feild

You might check your Classmate CPU load while on the field to see if circumstances have it bogged down. (Cntl-Shift-Esc)

Ask the field staff to watch your packet transit time to see if it's really, really slow.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 02-04-2011, 21:52
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Controller Lag on Feild

You may want to use the system manager (tools -> real time module -> system manager) to see how much CPU the C RIO is using. If it's near 100%, then it may just be the FMS is sending it over the edge.

You may want to try speeding up your code in general though, perhaps by adding longer delays to everything (it may be a good idea to put one in the main loop). If you're just edging the line between lag and no lag, you probably want to back it off a little bit.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-04-2011, 21:53
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,708
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: Controller Lag on Feild

Are you using CAN? Were you getting any errors in the diagnostic window one the Driver Station? Are you cRIO and DS as up to date as possible?
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #5   Spotlight this post!  
Unread 02-04-2011, 21:57
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,708
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: Controller Lag on Feild

Quote:
Originally Posted by WizenedEE View Post
You may want to use the system manager (tools -> real time module -> system manager) to see how much CPU the C RIO is using. If it's near 100%, then it may just be the FMS is sending it over the edge.

You may want to try speeding up your code in general though, perhaps by adding longer delays to everything (it may be a good idea to put one in the main loop). If you're just edging the line between lag and no lag, you probably want to back it off a little bit.
The FMS should add a completely negligible load to the cRIO CPU, if any. The FMS talks with the DS, not the cRIO. Mark's suggestion of checking the Classmate CPU load makes more sense.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #6   Spotlight this post!  
Unread 02-04-2011, 23:31
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,749
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Controller Lag on Feild

Double check the wiring on your radio, it goes to the power converter, power converter plugs into the 12v plug on the end of your power distribution board.

Also confirm you are running version 2.27.11 on the driver station.

I have seen both of these conditions cause the symptoms you are describing.
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
Reply With Quote
  #7   Spotlight this post!  
Unread 03-04-2011, 10:30
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: Controller Lag on Feild

In addition to what has been said, I'd take care of any other code that causes error messages to be sent to the driver station. The auto-error-handler is not really that efficient and is one of the first things to correct. It is not common, but certainly possible that the errors happen on the field and not in your tests. To check for this, I'd recommend using the Practice Mode of the DS and if necessary, vary some of the bootup sequencing -- boot the robot first, then plug in the DS, reboot the robot with the DS already present, etc.

Greg McKaskle
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 20:42.

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