Go to Post This thread is just as lethal as any design your own game thread. - Schnabel [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
  #16   Spotlight this post!  
Unread 18-02-2011, 09:26
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Driver Station Errors

Most times I encounter a tripping watchpuppy are because a semi-unrelated thing is causing an error every time it runs, and the error handling time is enough to trip the watchpuppy. While running, try probing all of the device refs in Teleop, and see if any are creating errors.

It is also possible that bad communication is causing these errors. The Teleop loop is timed to the incoming packets, so if the packets lag enough then the RobotDrive might not run fast enough.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #17   Spotlight this post!  
Unread 18-02-2011, 10:01
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,537
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Driver Station Errors

cbilgin, trying checking to see if you are still getting these errors with the robot disabled. The diagnostic is not telling you the problem is with teleop - but in robot main. They are Two different things, and I suspect you're looking in the wrong place.
  #18   Spotlight this post!  
Unread 18-02-2011, 10:21
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,861
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: Driver Station Errors

Yea, Teleop looks fine.
There is a small error On your Elevator motor output.
I think you meant to use multiple rather than addition of 0.9
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #19   Spotlight this post!  
Unread 18-02-2011, 10:53
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: Driver Station Errors

This has nothing to do with your error, but it looks like you have a feature where a joystick trigger makes the robot drive backwards. Is that to make it easier for to control it intuitively when the robot is facing the driver? You might want also to swap the left and right motor signals in that case, so that it turns the way the driver expects it to.
  #20   Spotlight this post!  
Unread 18-02-2011, 11:13
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Driver Station Errors

Quote:
Originally Posted by Alan Anderson View Post
This has nothing to do with your error, but it looks like you have a feature where a joystick trigger makes the robot drive backwards. Is that to make it easier for to control it intuitively when the robot is facing the driver? You might want also to swap the left and right motor signals in that case, so that it turns the way the driver expects it to.
Our minibot deployment arm is at the back of our robot and it is to make minibot deployment easier for our driver.

Thank you for the correction!
  #21   Spotlight this post!  
Unread 18-02-2011, 11:15
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Driver Station Errors

Quote:
Originally Posted by Mark McLeod View Post
Yea, Teleop looks fine.
There is a small error On your Elevator motor output.
I think you meant to use multiple rather than addition of 0.9
Actually I summed it with 0,9 because I just dont want elevator to fall down because of gravity.
  #22   Spotlight this post!  
Unread 18-02-2011, 11:18
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Driver Station Errors

Quote:
Originally Posted by Tom Line View Post
cbilgin, trying checking to see if you are still getting these errors with the robot disabled. The diagnostic is not telling you the problem is with teleop - but in robot main. They are Two different things, and I suspect you're looking in the wrong place.
Is the problem with Robot Main? I didnt even change anything with Robot Main. Should I change Robot Main if yes what should I change with Robot Main?
  #23   Spotlight this post!  
Unread 19-02-2011, 17:48
dotbran dotbran is offline
Registered User
AKA: Brandon Olsen
FRC #3219 (TREAD)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Auburn, WA
Posts: 68
dotbran is on a distinguished road
Re: Driver Station Errors

I had this problem and I had to change all of the slot values manually in the Open 4 Motor VI - One on each motor and one in the front panel
  #24   Spotlight this post!  
Unread 19-02-2011, 19:58
cilginbilgin cilginbilgin is offline
Registered User
FRC #2905
 
Join Date: Jan 2010
Location: Istanbul,Turkey
Posts: 188
cilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the roughcilginbilgin is a jewel in the rough
Re: Driver Station Errors

Quote:
Originally Posted by dotbran View Post
I had this problem and I had to change all of the slot values manually in the Open 4 Motor VI - One on each motor and one in the front panel
I didnt really understand what you have done? Where is Open 4 Motor VI? Isnt that enough to have constant slot values and changing slot values from Block Diagram?

Thanks for your help!
  #25   Spotlight this post!  
Unread 19-02-2012, 04:20
Team 4117 Team 4117 is offline
Registered User
FRC #4117
 
Join Date: Feb 2012
Location: California
Posts: 5
Team 4117 is an unknown quantity at this point
Question Re: Driver Station Error 44061

Rookie team here looking for some last minute help...

After ongoing LabVIEW programming issues/errors we decided to restart from scratch:

1. Deleted all cRIO Robot Projects
2. Installed updates for LabVIEW, Driver Station, & Utilities
3. Re-ran cRIO Imaging Tool
4. Created new cRIO Project and have not changed anything

When wireless we have intermittent communication (program still runs but is choppy) and we keep getting

ERROR <Code> -44061 occurred at "Left and Right Motors" in the VI path: Robot Main.vi
FRC: The loop that contains RobotDrive is not running fast enough. This error can occur if the loop contains too much code, or if one or more other loops are starving the RobotDrive loop.

I am trying to determine if our wireless is causing this error or if this error is causing our wireless to have issues (sending too much info?)... when we are tethered to the cRIO we don't get this error and we can still receive the wireless camera image on the dashboard with no apparent delay.

Please advise...
  #26   Spotlight this post!  
Unread 19-02-2012, 09:17
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,753
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: Driver Station Errors

If you flip to the rightmost tab on the DS called Charts, it contains a chart of various robot things. One is the voltage of the robot battery, one is CPU usage, and the two top ones are the communication round trip time in milliseconds and the lost packets. If spikes there correspond to the choppiness, the issues is either with the wifi environment (too many competing networks on the same channel(s)), a badly mounted radio (too far into the robot, too close to motors), or if it is latency and not dropped packets, it may be due to load of the DS computer or cRIO.

Greg McKaskle
  #27   Spotlight this post!  
Unread 19-02-2012, 13:34
Team 4117 Team 4117 is offline
Registered User
FRC #4117
 
Join Date: Feb 2012
Location: California
Posts: 5
Team 4117 is an unknown quantity at this point
Re: Driver Station Errors

Ok so looks like this is definitely a wireless issue. To me it looks like it's both dropped packets and latency (see attached for screenshot of Chart with no robot code).

So question now is how to fix...

Our wireless radio is on the perimeter of our robot and about 5" (nearest edge to nearest edge) from the closest motor. It is only about 3" from our battery and cRIO and only about an 1" from the digital sidecar. It has a short power cable though and would take a significant amount of re-wiring to get it any further...

I looked under network connections (see second screenshot) and it appears to have a pretty good connection (72Mbps) but I am no expert in these things.

I am tempted to hit the reset button on the back of the wireless radio but from what I recall it was a nightmare to configure it the first time and I'd like to avoid that if possible.

Please advise...
Attached Thumbnails
Click image for larger version

Name:	Chart_no robot code.jpg
Views:	43
Size:	58.7 KB
ID:	11990  Click image for larger version

Name:	Wireless Connection Details.jpg
Views:	42
Size:	76.9 KB
ID:	11991  
  #28   Spotlight this post!  
Unread 19-02-2012, 14:13
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,753
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: Driver Station Errors

The only thing that stands out is the 255.0.0.0 subnet mask. I'm not sure that alone will impact the lost packets, but I'd drop it to 255.255.255.0. Next I'd run InSSIDer and see if the channel is really a good one. I'm not sure what the green bars on the Windows control panel mean, strong signal, not much traffic, etc.

Please post any solution or improvements that you find.

Greg McKaskle
  #29   Spotlight this post!  
Unread 19-02-2012, 16:24
Team 4117 Team 4117 is offline
Registered User
FRC #4117
 
Join Date: Feb 2012
Location: California
Posts: 5
Team 4117 is an unknown quantity at this point
Re: Driver Station Errors

I just tried logging onto the classmate to change the subnet but I get an error:

"Your system is running low on resources. You cannot log on as a new user. Please use an account that has already been logged on."

I get the same error when trying to log onto the driver station.

Battery is fine and I get same error with power cord plugged in. So confused...
  #30   Spotlight this post!  
Unread 19-02-2012, 16:38
Team 4117 Team 4117 is offline
Registered User
FRC #4117
 
Join Date: Feb 2012
Location: California
Posts: 5
Team 4117 is an unknown quantity at this point
Re: Driver Station Errors

Restarting the classmate fixed the "Low on Resources" error but now I'm concerned I have something running behind the scenes.

I changed the subnet but it didn't seem to help.

I'm bringing it over to a veteran team now to see if they can figure it out.
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 07:54.

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