Go to Post I love the smell of a upcoming FRC build season in the morning. The sleepless night; the drills; welding; cutting of metal. I wait all yr. for this. - midway78224 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 15-02-2015, 07:32
BlueOps4216MrG's Avatar
BlueOps4216MrG BlueOps4216MrG is offline
Coach
FRC #4216 (Blue Ops)
Team Role: Coach
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Jackson,MI
Posts: 6
BlueOps4216MrG is an unknown quantity at this point
Re: Jittery Motor

Did you guys figure out the problem. We have an almost identical issue. Bag motor w/ 90:1 versaplanetary running with the new Victor SP. It worked fine directly hooked to battery but when running through the motor controller it looks and sounds like yours.
  #2   Spotlight this post!  
Unread 15-02-2015, 12:12
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: Jittery Motor

I'm smelling a possible software issue. What is the code you're using to control this motor?
  #3   Spotlight this post!  
Unread 17-02-2015, 00:26
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: Jittery Motor

Quote:
Originally Posted by mikel392 View Post
not trying to hijack the thread but i'm having the same problem (sort of) https://www.dropbox.com/s/t9coaq7q2d...obot.java?dl=0 the lift goes up fine but it jitters a lot when reversed
Code:
    if (joyExtra.getRawButton(4))
    {
        liftup();  
      }
   
    else
    {
         
        liftstop();
  }
     
     if (joyExtra.getRawButton(2))
     {
        liftdown();  
      }
     
    else{
         
        liftstop();
  }
If button 4 is pressed, it starts the lift running up, but then the fact that button 2 is not pressed stops it immediately. You need to change the logic so that button 4 runs the lift up, button 2 runs the lift down, and only if neither button is pressed does the lift get stopped.
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 00:43.

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