Go to Post I live for the offseason...that is, when i'm not living for the actual season. - Libby K [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 30-01-2016, 11:23
Unexas Unexas is offline
Lead Programmer
AKA: Douglas Byrd
FRC #3753 (BulahBots)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Baton Rouge
Posts: 22
Unexas is just really niceUnexas is just really niceUnexas is just really niceUnexas is just really niceUnexas is just really nice
Motor Stuttering Problem

Our pickup motor is stuttering it will not get up to full speed going backwards but will forwards. But stuttering is apparent going both ways. We have tried multiple motor controlers and cim motors but nothing different happens. We have tried multiple PWM cables and slots as well as re-formating the robo-RIO. Our battery is good as well.

The code is a motor running into a case structure that flips between on and off based on if the button is pressed.

We have used an arduino to send the PWM signal to a Talon to and in doing that it works perfectly.

We need help.
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2016, 13:12
3763wildcards 3763wildcards is offline
Registered User
FRC #3763
 
Join Date: Jan 2015
Location: Jacksonville, NC
Posts: 1
3763wildcards is an unknown quantity at this point
Re: Motor Stuttering Problem

Try checking this thread for help, Autodesk might be your issue, if you have it installed
http://www.chiefdelphi.com/forums/sh...d.php?t=142651
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2016, 13:34
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Motor Stuttering Problem

Quote:
Originally Posted by Unexas View Post
The code is a motor running into a case structure that flips between on and off based on if the button is pressed.
Sounds like you might be setting your motor speed in more than one location in the code.


Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2016, 22:41
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,752
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: Motor Stuttering Problem

The first thing I'd check is the diagnostics tab. It is the center tab on the right of the DS window. If this shows lots of lost packets and/or latency, it could be that communications is causing the motor controllers to be disabled during operation, and this would cause stuttering.

If that doesn't explain what is happening, I'd then search the code for other places that the robot drive refnum is used to update the motors. I'd be looking for logic that may allow for zeroes or other unintended values to be written to the motors.

I'd also look at the messages display on the DS just to see if this gives any other hints.

Greg McKaskle
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 20:25.

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