Go to Post Don't put any weight into the OPR. It's ugly and its momma dresses it funny. - wilsonmw04 [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 07-01-2015, 13:25
TylerStaudigel's Avatar
TylerStaudigel TylerStaudigel is offline
Registered User
FRC #0144 (R.O.C.K)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2014
Location: United States
Posts: 39
TylerStaudigel is an unknown quantity at this point
Exclamation HELP!

I'm currently programming our practice bot equipped with the new control system and have encountered a problem. The code was a brand new project and the only thing that I changed in it was in the begin vi. I just changed it from two motor too four motor. When the robot is operated in teleop this error code comes up in the driver station. 44061. A message says that it occurred at the left and right motors in the vi path "robot main". Another message says that the loop that contains the robot drive is not running fast enough. I am puzzled how new code could be flawed and need help. I'll attach a screen shot of the error code occurring, and let me know if anyone else is experiencing this issue that you know of. Have a nice build season and see you at the competition.
Attached Files
File Type: pdf Doc1.pdf (200.5 KB, 47 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2015, 21:07
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 221
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: HELP!

Unfortunately I can't answer your question, but I can give you another thing to try. Use a "Y" splitter cable, so you have only one output to each side of the robot. This allows you to control four motors, even though it is only coded for two motors. Therefore you will use default code- no changes. Hope this helps.
Reply With Quote
  #3   Spotlight this post!  
Unread 11-01-2015, 08:27
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,751
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: HELP!

The blue text will often tell you why an error occurred.

That error code is generated when the safety system is enabled and the code has not updated the motors in 100ms. The safety system, which is only enabled for RobotDrive motors by default assumes that your code should update at that rate, and if not, it is an error and the motors should be set to zero speed.

It is actually pretty easy to get this in auto the robot pauses, sets the motors to zero and sits there. In that case it does no harm.

If you are seeing this in teleop, it probably indicates that your code is directly performing some action in teleOp that takes longer than 100ms.

If you describe what mode the robot is in, or when the error occurs, I can give more advice on getting rid of it.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 11-01-2015, 09:25
Tom317 Tom317 is offline
Registered User
FRC #5739
 
Join Date: Jan 2015
Location: Dallas,Texas
Posts: 4
Tom317 is an unknown quantity at this point
Re: HELP!

I get the same thing in teleop when I drive the robot at full speed. All my code is default and safety config is in the begin enabled. THe robot keeps operating the way it should; I just want to make sure that I am not affecting the performance for the robot . The robot just keeps moving
Reply With Quote
  #5   Spotlight this post!  
Unread 11-01-2015, 22:32
TylerStaudigel's Avatar
TylerStaudigel TylerStaudigel is offline
Registered User
FRC #0144 (R.O.C.K)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2014
Location: United States
Posts: 39
TylerStaudigel is an unknown quantity at this point
Re: HELP!

Quote:
Originally Posted by Greg McKaskle View Post
The blue text will often tell you why an error occurred.

That error code is generated when the safety system is enabled and the code has not updated the motors in 100ms. The safety system, which is only enabled for RobotDrive motors by default assumes that your code should update at that rate, and if not, it is an error and the motors should be set to zero speed.

It is actually pretty easy to get this in auto the robot pauses, sets the motors to zero and sits there. In that case it does no harm.

If you are seeing this in teleop, it probably indicates that your code is directly performing some action in teleOp that takes longer than 100ms.

If you describe what mode the robot is in, or when the error occurs, I can give more advice on getting rid of it.

Greg McKaskle
I too have seen the code come up in teleop, but also autonomous as well. So far it doesn't seem to be affecting the performance of the robot, but the code i was running was a default project so i'm confused on what could be causing the issue.
Reply With Quote
  #6   Spotlight this post!  
Unread 15-01-2015, 06:57
Alchemy99's Avatar
Alchemy99 Alchemy99 is offline
Registered User
AKA: Josh Cote
FRC #3141 (Team Alchemy)
Team Role: Leadership
 
Join Date: Jun 2009
Rookie Year: 2007
Location: Torrington, CT
Posts: 29
Alchemy99 is an unknown quantity at this point
Send a message via AIM to Alchemy99 Send a message via Yahoo to Alchemy99
Re: HELP!

I too am getting this error, with stock code. using mecanum 4 motor. We are using PWM to control tallons, but when you dig in to the code apparenty it is set up for jaguars with CAN, so says our lead programmer.
__________________
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 08:49.

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