Go to Post Success in this game comes from a wealth of ideas and good engineering, not deep pockets. - Karthik [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-20-2016, 02:52 PM
DeltaVii DeltaVii is offline
Registered User
FRC #1571
 
Join Date: Feb 2016
Location: OR
Posts: 1
DeltaVii is an unknown quantity at this point
Motor Skipping in phases?

So after about a week of debugging this issue we've refined it down. When we run our motors, whether it be the drive through joystick or aux drive through button press, the motors will skip in phases. About 5 seconds of rough, 10 seconds smooth. The weird thing is that it's not dependent on the motors starting, its a constant phase changing. We can stop the motor in the smooth phase, then start and be smooth. Stop in the rough phase, start in rough.

I think it has something to do with our scheduler, but don't know enough about it to check if it's correct. Currently in Robot.java we have a Scheduler.getInstance().run(); in OperatorControl, disabledPeriodic and autonomousPeriodic. Can anyone help us with this issue?

BTW: This isn't a Watchdog issue. We've tried increasing the expiration on RobotDrive and it doesn't change anything.

Link to our code: https://github.com/DeltaVii/1571-Stronghold
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:59 AM.

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