View Single Post
  #7   Spotlight this post!  
Unread 29-03-2014, 23:32
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,815
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: 8 volts over talons

Quote:
Originally Posted by JavaNoNothing14 View Post
Its set to two talons, but for the sake of this i'm just writing the program as it would be if i only have one. The wire length is closer than any other motor control set up that we have.

So when I revised the program to have it read as such

Code:
if (js.getY()> 0)
{
shooter.set(1); 
}
so if i move my joystick forward my shooter will go forward. When i run this program i have no problem at all, robot works fine and it reads 12+ V.

I've even switched out these talons with other talons to eliminate as much as could be and for some strange reason, being set to a button doesn't give it full speed.
Ahh... more information, makes more thoughts... What other code do you have around this motor? I assume somewhere you're telling it to stop and/or go in reverse?
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA