Go to Post You can never have enough teamwork. - Koko Ed [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
  #31   Spotlight this post!  
Unread 19-02-2012, 17:34
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: Driver Station Errors

The user login message suggests that someone may have done the quick switch that allows for multiple users to be logged in. The DS no longer allows this and the new one sends a message to the old one to shutdown. But you could potentially have other programs hogging resources I suppose.

Greg McKaskle
  #32   Spotlight this post!  
Unread 19-02-2012, 18:42
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,813
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

From your description of the placement of the robot radio, it needs to be relocated. You listed a lot of things it shouldn't be close to (battery, motor, I bet it's close to speed controllers too isn't it).

Before rewiring, if you can, just take it off the robot and attach an extra Ethernet cable/power cord just so you can hold it in your hand while the robot runs while up on blocks.
Watch the Charts while holding it away from the robot with the motors running, then move it closer and to various places on the robot to see how proximity to various things affects the packet loss and round-trip transit time.

We just did that with a visiting team and it was quite an eye opener for them.
Nice job with the Charts this year Greg. Kudos.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 19-02-2012 at 20:27.
  #33   Spotlight this post!  
Unread 19-02-2012, 20:06
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: Driver Station Errors

Thanks. Now we just have to learn how to use it. Thanks Mark.

Greg McKaskle
  #34   Spotlight this post!  
Unread 19-02-2012, 21:31
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

Unfortunately it's not the placement of the wireless radio (rewired and moved it several feet away from our bot)...

Also checked to confirm we are getting a steady 5V from the transformer (it sometimes gives a quiet but high pitched hum) which we are...

The inSSIDer is a great tool and there does seem to be a lot of 2.4Ghz traffic here (see screenshot) but we got the same errors at their campus which had significantly less traffic (although there were brief periods where we had perfect wireless communication).

One of the guys who works at FIRST events managing the wireless systems worked with it for about and hour and said he pretty much narrowed it down to being an issue with the wireless radio itself. He said that it shouldn't be a problem at the event though since we will be running 5Ghz and if it is he'll give us a new radio (for now we'll just run code tethered).

Not the ideal solution but I've wasted far too much time on it already.

Thanks again for looking at this.
Attached Thumbnails
Click image for larger version

Name:	inSSIDer screenshot.jpg
Views:	47
Size:	144.0 KB
ID:	12005  
  #35   Spotlight this post!  
Unread 20-02-2012, 16:12
Jurrian Jurrian is offline
Registered User
FRC #3321
 
Join Date: Feb 2012
Location: Superior
Posts: 2
Jurrian is an unknown quantity at this point
Re: Driver Station Errors

Quote:
Originally Posted by cilginbilgin View Post
ERROR <Code> -44061 occurred at "Left and Right Motors" in the VI path: Robot Main.vi
<time>09:00:09 02/18/2011
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.

This is the error I am getting and I couldnt manage to solve it!

Here is my Teleop.vi
Did anyone seriously find the answer to this because we need to solve this immediately.
  #36   Spotlight this post!  
Unread 22-02-2012, 17:55
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 105
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: Driver Station Errors

Remove as many things from your teleop.vi and put them in periodic tasks! Also, if you're developing code on another laptop and pushing code into RAM, try removing as many controls on the front panel as possible, that REALLY slows everything down.
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
  #37   Spotlight this post!  
Unread 08-03-2012, 10:42
Creator1326 Creator1326 is offline
Registered User
FRC #3289
 
Join Date: Feb 2012
Location: Utah
Posts: 1
Creator1326 is an unknown quantity at this point
Angry Re: Driver Station Errors

I too am getting the -44061 drive loop is running too slow errors and let me preface this with we are 100% completely new to LabView this year.

I've taken all of my control code that runs the conveyer, aiming, shooting, and trigger servo/morors out of teleop.vi and placed them into a periodic task while loop and it seems to make no difference if I set it to 10 ms or 100ms I still receive the error. We are hardwired to our develop PC and should have next to no communication errors.
  #38   Spotlight this post!  
Unread 08-03-2012, 11:21
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Driver Station Errors

Quote:
Originally Posted by Creator1326 View Post
I too am getting the -44061 drive loop is running too slow errors and let me preface this with we are 100% completely new to LabView this year.

I've taken all of my control code that runs the conveyer, aiming, shooting, and trigger servo/morors out of teleop.vi and placed them into a periodic task while loop and it seems to make no difference if I set it to 10 ms or 100ms I still receive the error. We are hardwired to our develop PC and should have next to no communication errors.
Are you actually having a problem when using the Robot? In my experience this error isn't a big deal if it throws it every now and then (such as when you Enable) but you will get a lag issue if it continually throws it, which is probably a problem with your code.

See Post #4 in this Thread, specifically concerning the Camera. If you are not using the Camera, make sure to delete all the Camera code in the Begin, Finish and Disable/Delete the Vision VI in the Robot Main.

If that doesn't work post your complete code, it's hard to troubleshoot without it.
__________________

Last edited by DavidGitz : 08-03-2012 at 11:23. Reason: More info
  #39   Spotlight this post!  
Unread 10-03-2012, 15:41
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: Driver Station Errors

At the regionals I've attended, I've seen a number of teams throwing this when disabled because they are using a different name for their drive or for other reasons aren't updating the speed. Setting the speed there is useful to avoid jumps when the robot first enables, but otherwise isn't super important.

The most troubling issue with these issues is that they bog down the cRIO so that deploying new code is a bit more difficult, especially when other parallel loops like vision and Timed tasks are running at high CPU usage.

I also saw an error in built apps caused by the calibration code on the Vision diagram. That may not be common, but it makes sense if the panel is being removed during build.

I wish the error messages were a bit easier to understand, but if you are still having ones you can't find, post the Diagnostic messages, including the location info.

Greg McKaskle
  #40   Spotlight this post!  
Unread 10-03-2012, 22:11
Sconrad Sconrad is offline
Registered User
AKA: Connor Young
FRC #0122 (NASA Knights)
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Yorktown
Posts: 40
Sconrad is an unknown quantity at this point
Re: Driver Station Errors

Disclaimer: This is kind of a hack job solution and should only be tried if the previous suggestions did not work or you don't have time to try them. Also, although this fix worked for us, I can't say I did a ton of research into how exactly it worked so I can't guarantee it will work (Mr. McKaskle probably could better explain exactly why this works, etc.).

Our team encountered this early on in the build season. Drive -> SetSafetyMode vi (I'm not sure if that's the exact name, I don't have LabVIEW up in front of me) has a boolean input labeled something like Enabled? By placing this vi in the Begin vi in between the Open and setRefNum vis, we managed to make the error go away. Again, we only made the error go away, not the problem itself. The above suggested solutions are probably better ideas in general if you have the time to execute them.
  #41   Spotlight this post!  
Unread 11-03-2012, 12:40
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

Disabling the Motor Safety on the Drive motors might actually be an appropriate solution, but only in a very limited set of situations. It's theoretically possible for the robot code to be right at the edge of overtaxing the CPU, and a rare event could cause the safety timeout to throw an error...which uses more processing, which tips the system into a constant cycle of CPU overload and motor safety timeouts and errors eventually leading to watchdog timeouts and a disabled robot. With the safety disabled, there might be an occasional couple hundred milliseconds where the drive motors won't respond to a joystick change, but the robot won't get disabled because of it.

I'd still want to find the underlying reason for having so much CPU usage in the first place.
  #42   Spotlight this post!  
Unread 13-03-2012, 01:02
blackflame2996's Avatar
blackflame2996 blackflame2996 is offline
Alumni
AKA: David Donahue
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Colorado springs, CO
Posts: 67
blackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to all
Re: Driver Station Errors

I can confirm that there is not anything wrong with your teleop. something else is using up all of the RIO's processing power. I would look at any vision processing that you have running; that is what caused us problems. Now, as to the watchdog, feed it in the 10 ms loop of timed tasks. this will eliminate all of these errors except when switching modes.
__________________
2009 Regional Winners
2011 Regional Chairman's Award
2012 Regional Winners
2013 Regional Chairman's Award
  #43   Spotlight this post!  
Unread 13-03-2012, 08:26
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: Driver Station Errors

The watchdog is not on by default. If it were, feeding it in a parallel loop is equivalent to turning it off, so you may as well just turn it off.

The safety config if "fed" when you update the RobotDrivr. Don't update them in parallel, just update them. Or set it to be disabled. Make sure that anyone else debugging the code knows it is off so the robot doesn't drive through walls.

Greg Mckaskle
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 19:20.

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