Go to Post If a team wants to cheat then it does nothing but give them a bad cloud hanging over their own heads. - Jon K. [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 22-01-2012, 13:34
ProgrammerMatt ProgrammerMatt is offline
Programmer-Electrical-Mechanical
FRC #0228 (Gus)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Southington
Posts: 138
ProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really nice
Robot drive... Output not updated enough.

Im triying to call a digital in from the driverstation and when i enable the robot i get spammed with this line, any ideas thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2012, 22:19
carrillo694's Avatar
carrillo694 carrillo694 is offline
Alex Carrillo
FRC #0694 (Stuypulse)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: New York, NY
Posts: 66
carrillo694 is a jewel in the roughcarrillo694 is a jewel in the roughcarrillo694 is a jewel in the roughcarrillo694 is a jewel in the rough
Re: Robot drive... Output not updated enough.

This is affecting our team as well. Were you using the SmartDashboard at the time by any chance? We think it might have to do with that.
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2012, 12:40
kgabbott kgabbott is offline
Registered User
FRC #2035
 
Join Date: Jan 2012
Location: Carmel,CA
Posts: 2
kgabbott is an unknown quantity at this point
Re: Robot drive... Output not updated enough.

Our team was also having problems with this, but we found that it has to do with the RobotDrive object in your code. As long as it does not have access to the specified jaguars or there is no joystick, it will be unable to perform the task RobotDrive.arcadeDrive(), or whatever method you are using to drive. For testing purposes, just comment out everything having to do with RobotDrive and you should be fine.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2012, 15:14
loafdog loafdog is offline
Registered User
AKA: Maciej
FRC #2876 (DevilBotz)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Burlington, MA
Posts: 37
loafdog is on a distinguished road
Re: Robot drive... Output not updated enough.

Another thing you can do is call the RobotDrive method: setSafetyEnabled(false)

-Maciej
Reply With Quote
  #5   Spotlight this post!  
Unread 25-01-2012, 00:28
carrillo694's Avatar
carrillo694 carrillo694 is offline
Alex Carrillo
FRC #0694 (Stuypulse)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: New York, NY
Posts: 66
carrillo694 is a jewel in the roughcarrillo694 is a jewel in the roughcarrillo694 is a jewel in the roughcarrillo694 is a jewel in the rough
Re: Robot drive... Output not updated enough.

Quote:
Originally Posted by loafdog View Post
Another thing you can do is call the RobotDrive method: setSafetyEnabled(false)

-Maciej
That did the trick! Thanks.
Reply With Quote
  #6   Spotlight this post!  
Unread 13-02-2012, 17:52
NS_Radication's Avatar
NS_Radication NS_Radication is offline
Student
AKA: Marco Schoener
FRC #1369 (Minotaur)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Tampa
Posts: 88
NS_Radication is an unknown quantity at this point
Re: Robot drive... Output not updated enough.

Our program, test, was working on SimpleRobot and we switched to Iterative, but now the error for updating Robot Drive appear. I tried setSafetyEnabled(false) but that only stopped the error. Nothing moves and I don't know what to do

Any advice or comment would be helpful right now. Thank you in advanced!
__________________
Team 1369
Senior
Head Programmer (Java)
Head Electrician
Reply With Quote
  #7   Spotlight this post!  
Unread 13-02-2012, 18:17
NS_Radication's Avatar
NS_Radication NS_Radication is offline
Student
AKA: Marco Schoener
FRC #1369 (Minotaur)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Tampa
Posts: 88
NS_Radication is an unknown quantity at this point
Re: Robot drive... Output not updated enough.

UPDATE: just after my post, the robot drive train moved. After a few minutes, it disconnected because a CRIO wire came loose. Then the autonomous made one motor move really slowly, which was not supposed to HAPPEN! Now it doesn't move again.

Any comments, advice, or anything else will be greatly appreciated1
__________________
Team 1369
Senior
Head Programmer (Java)
Head Electrician
Reply With Quote
  #8   Spotlight this post!  
Unread 13-02-2012, 18:58
Patrick Chiang Patrick Chiang is offline
Programming
FRC #3070 (Team Pronto)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Seattle
Posts: 162
Patrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to allPatrick Chiang is a name known to all
Re: Robot drive... Output not updated enough.

Quote:
Originally Posted by NS_Radication View Post
UPDATE: just after my post, the robot drive train moved. After a few minutes, it disconnected because a CRIO wire came loose. Then the autonomous made one motor move really slowly, which was not supposed to HAPPEN! Now it doesn't move again.

Any comments, advice, or anything else will be greatly appreciated1
Code?
Reply With Quote
  #9   Spotlight this post!  
Unread 14-02-2012, 17:06
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: Robot drive... Output not updated enough.

Our team has encountered this error a lot. It mostly has to do with either the Timer.delay() method or the robotDrive.setSafetyEnabled() method. Check to see also if your code contains
Code:
while(isEnabled() && isOperatorControl()) {
}
Reply With Quote
  #10   Spotlight this post!  
Unread 21-02-2012, 18:54
sebflippers sebflippers is offline
Registered User
FRC #2914
 
Join Date: Jan 2012
Location: dc
Posts: 56
sebflippers will become famous soon enoughsebflippers will become famous soon enough
Re: Robot drive... Output not updated enough.

Restart the driver station.
Reply With Quote
  #11   Spotlight this post!  
Unread 21-02-2012, 21:12
sebflippers sebflippers is offline
Registered User
FRC #2914
 
Join Date: Jan 2012
Location: dc
Posts: 56
sebflippers will become famous soon enoughsebflippers will become famous soon enough
Re: Robot drive... Output not updated enough.

Scratch that. It only fixed it for a second. After inverting one side of the wheels (only one line of code), everything stopped working again. This happened even after I stripped the code of everything except joysticks and robotdrive. Help!!!
Reply With Quote
  #12   Spotlight this post!  
Unread 27-02-2012, 17:50
CompSciGeek CompSciGeek is offline
Registered User
FRC #0948
 
Join Date: Jan 2012
Location: Bellevue, WA, USA
Posts: 14
CompSciGeek is an unknown quantity at this point
Re: Robot drive... Output not updated enough.

Our team also had this problem, forgot how we solved it, BUT we did not use RobotDrive. Our robot is swerve Drive, so we had to code our own Drive class for swerve algorithms.

So it's not robot drive alone it seems.
Reply With Quote
  #13   Spotlight this post!  
Unread 28-02-2012, 11:18
ProgrammerMatt ProgrammerMatt is offline
Programmer-Electrical-Mechanical
FRC #0228 (Gus)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Southington
Posts: 138
ProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really nice
Re: Robot drive... Output not updated enough.

I just forgot to use the .getInstance();
Reply With Quote
  #14   Spotlight this post!  
Unread 28-02-2012, 18:50
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: Robot drive... Output not updated enough.

We had the same problem and i somewhat forget what the problem was but i think restarting the computer helps. we also found out that we were calling for the same PWM port for 2 different objects i think.
__________________
in FIRST, it's process over product, and team over robot.
http://www.roguerobotsof4h.com/
Team 3585 Rogue Robots of 4-H
Reply With Quote
  #15   Spotlight this post!  
Unread 28-02-2012, 23:24
AlexD744 AlexD744 is offline
Registered User
FRC #0744 (744 Shark Attack)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ft. Lauderdale, FL
Posts: 639
AlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond repute
Re: Robot drive... Output not updated enough.

This error message is a frustrating one because it would seem that this error would originate from the RobotDrive class, however, the real problem could be in any part of your code. This displays whenever your code is running too slowly, and will subsequently disable your drive functions (and probably everything else, not sure though, I haven't spent too much time trying the different functions when this has popped up). Anyway, this message appears a lot if you are doing image processing on the cRio because that takes longer than the 20mS loop time. Other (more likely culprits) include infinite loops (or any loop that lasts longer than 20mS), methods that call themselves without end (I had a setMotorSpeed(speed) method that called setMotorSpeed(speed) at the end of it instead of motor.set(speed)), and anything else that potentially stops or slows the code.

It may be helpful to add your own output messages throughout your code, then you will see what is getting called before the RobotDrive message, and it will probably point to the area of code that is causing the stop.
__________________
www.sharkattack744.com
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 12:46.

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