Go to Post Really heavy snow is different in Minnasota and Oklahoma... It has to be pretty bad up there. - thatoneguy23 [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 10-02-2016, 21:26
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Joystick:Joy FRC: RobotDrive error message

Dear CD,

I am receiving the following ERROR message on the Driver Station screen with the base RobotProject code when switching from Teleop enabled to AUton Enabled.

ERROR -44061 "Joystick.Joy"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 others loops are starting the RobotDrive loop.

I found this initially when beginning to work with some student code but went back to original RobotDrive project and received the same results.

Can anyone else duplicate this and does anyone have a fix?

It may not be a big deal but I know this error message will nag me for a while until fixed.

Regards,
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377

Last edited by marccenter : 10-02-2016 at 21:29. Reason: more info
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2016, 22:22
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,731
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: Joystick:Joy FRC: RobotDrive error message

That's just due to the transition time between modes taking more than a tenth of a second.
It's normal and nothing to worry about.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 11-02-2016, 11:20
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Re: Joystick:Joy FRC: RobotDrive error message

Mark,

Thanks. One less thing to worry about. However, I am surprised that it shows up more than once, multiple times. Is there some kind of watchdog timeout function I can add or modify to eliminate the multiple events?
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377
Reply With Quote
  #4   Spotlight this post!  
Unread 11-02-2016, 11:26
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,731
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: Joystick:Joy FRC: RobotDrive error message

If you really want to get rid of the message you can turn the Safety off (Disable) in Begin.vi.
You'll see it Enabled at the tail end of the default Open Motors code.

You might also mitigate it by adding a Set Motor to zero in the Disabled.vi
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 11-02-2016, 18:29
Mars1912's Avatar
Mars1912 Mars1912 is offline
Registered User
AKA: Nathaniel Breiter
FRC #2513 (T.E.R.T.O.L.A.)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: Minneapolis MN
Posts: 7
Mars1912 is an unknown quantity at this point
Re: Joystick:Joy FRC: RobotDrive error message

I'm getting the same error but instead of just when switching modes I'm getting it constantly while driving. We had 200 errors in about a minute of tele-op. It has nothing to do with the code as I replicated it with an unchanged Robo-Rio project. No other programs are running as far as I can tell. I am at my wits end. Any ideas?
Reply With Quote
  #6   Spotlight this post!  
Unread 13-02-2016, 13:39
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,112
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: Joystick:Joy FRC: RobotDrive error message

Continuous -44061 errors mean you're not controlling the motors rapidly enough. Make sure you aren't opening an extraneous RobotDrive in Begin. If you do that but never set the motor values, the motor safety will complain about it.
Reply With Quote
  #7   Spotlight this post!  
Unread 16-02-2016, 17:39
Mars1912's Avatar
Mars1912 Mars1912 is offline
Registered User
AKA: Nathaniel Breiter
FRC #2513 (T.E.R.T.O.L.A.)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: Minneapolis MN
Posts: 7
Mars1912 is an unknown quantity at this point
Re: Joystick:Joy FRC: RobotDrive error message

I don't believe that opening an extra RobotDrive is the issue but I will attach both our begin and tele-op just in case. Again, it is recreate-able with stock code. In addition, It occurs on 2 separate computers. I also tried the update to the radio configuration utility and re-formatted the radio, which accomplished nothing.
Attached Files
File Type: vi Begin.vi (16.9 KB, 7 views)
File Type: vi Teleop.vi (21.2 KB, 3 views)
Reply With Quote
  #8   Spotlight this post!  
Unread 16-02-2016, 21:37
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,731
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: Joystick:Joy FRC: RobotDrive error message

Well, the good news is that I ran your Begin/Teleop and I don't get a single error about the drive motors running too slow.

So, since you get the error with a fresh project, there seems to be something in your environment/PC causing the slow down.

Take a look at your Driver Station log file for one of the runs to see what kind of round-trip transit times you were getting and if packets were being dropped.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 17-02-2016 at 21:22.
Reply With Quote
  #9   Spotlight this post!  
Unread 17-02-2016, 20:46
Mars1912's Avatar
Mars1912 Mars1912 is offline
Registered User
AKA: Nathaniel Breiter
FRC #2513 (T.E.R.T.O.L.A.)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: Minneapolis MN
Posts: 7
Mars1912 is an unknown quantity at this point
Re: Joystick:Joy FRC: RobotDrive error message

Packets are being dropped. I did find one of the threads about that issue in the control system forums and tried ending some of the tasks that were suggested. That seems to have fixed most of the problem, with packets dropping occasionally instead of continuously. I'm going to keep trying to improve that.
Reply With Quote
  #10   Spotlight this post!  
Unread 18-02-2016, 15:21
khannasusa khannasusa is offline
Registered User
FRC #5190
 
Join Date: Sep 2014
Location: NC
Posts: 11
khannasusa is an unknown quantity at this point
Re: Joystick:Joy FRC: RobotDrive error message

Hi
Can you please post a link to the thread which discussed solutions to dropped pkts?
Thanks
--sk
Reply With Quote
  #11   Spotlight this post!  
Unread 18-02-2016, 16:10
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,112
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: Joystick:Joy FRC: RobotDrive error message

Dropped packets are usually caused by unwanted background programs on the Driver Station computer or by interference with the Wi-Fi signal. Is your OM5P ("robot radio") mounted high and away from motors and metal and other electronic devices?
Reply With Quote
  #12   Spotlight this post!  
Unread 18-02-2016, 18:27
Mars1912's Avatar
Mars1912 Mars1912 is offline
Registered User
AKA: Nathaniel Breiter
FRC #2513 (T.E.R.T.O.L.A.)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: Minneapolis MN
Posts: 7
Mars1912 is an unknown quantity at this point
Re: Joystick:Joy FRC: RobotDrive error message

Quote:
Originally Posted by khannasusa View Post
Hi
Can you please post a link to the thread which discussed solutions to dropped pkts?
Thanks
--sk
I found help here. We had Autodesk installed on both computers.
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 04: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