Go to Post GP is an ideal to live by, but not a tool to judge with. - Rich Kressly [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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 03-02-2012, 00:55
Whippet's Avatar
Whippet Whippet is offline
MIT Class of 2020
AKA: Luis Trueba
FRC #4301 (New Tech Narcissists)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cambridge, MA
Posts: 1,187
Whippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond repute
Send a message via Yahoo to Whippet
Question [FTC]: Servos locking up when deploying FTC code to NXT

My FTC team is having a hard time programming our servos. We have programmed the system so that one button on the gamepad makes the servo go to one place, and another button makes it go to a different position. This setup works perfectly when running as a "prototype" program, but when we deploy it as actual "FTC" code, the servos will twitch when the button is pressed, then become non-responsive. Any help is appreciated, and since our competition is tomorrow, we are really in need of a solution.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2012, 04:57
Jeremy Germita's Avatar
Jeremy Germita Jeremy Germita is offline
Co-Advisor/Lead Engineering Mentor
AKA: wood is good. plastic is fantastic.
FRC #5012 (Gryffingear) / (Antelope Valley FIRST Teams)
Team Role: Coach
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Lancaster, CA
Posts: 285
Jeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond reputeJeremy Germita has a reputation beyond repute
Re: [FTC]: Servos locking up when deploying FTC code to NXT

Could you post the code? There may be a variety of reasons that it's not working and we can only know for sure if we can see your code.
__________________
Drive Coach Team 5012 Gryffingear / Antelope Valley FIRST teams / EWCP - (2013 - Current)
Student / Driver / Programmer / CAD - FRC Team 399: Eagle Robotics / FTC Team 72: GarageBots - (2009 - 2013)
Los Angeles Region FTC FTA/CSA/Head Ref
[FF] FIRST Pick
2014 FTC Los Angeles Regional Compass Award Winner.

2017 - San Diego Regional / Sacramento Regional / Las Vegas Regional
2016 - Los Angeles Regional Creativity + Winners (1197, 987, 5012) / Las Vegas Regional Team Spirit + SF (5012, 5851, 5049) / Galileo Subdivision
2015 - Inland Empire QF (597, 5012, 4413) / Las Vegas Imagery + Winners (148, 987, 5012) / Newton Subdivision and World Champions (118, 1678, 1671, 5012)
2014 - Inland Empire Rookie All Star + Highest Rookie Seed + SF (2339, 1967, 5012) / Las Vegas Rookie All Star / Galileo Division Imagery
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2012, 23:09
Whippet's Avatar
Whippet Whippet is offline
MIT Class of 2020
AKA: Luis Trueba
FRC #4301 (New Tech Narcissists)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cambridge, MA
Posts: 1,187
Whippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond repute
Send a message via Yahoo to Whippet
Red face Re: [FTC]: Servos locking up when deploying FTC code to NXT

Quote:
Originally Posted by jeremypg399 View Post
Could you post the code? There may be a variety of reasons that it's not working and we can only know for sure if we can see your code.
Sorry for the late response, but we fixed it. As it turned out, it was linked to a completely nonrelated issue: We got the schematic in the program wrong.
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2012, 07:55
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: Servos locking up when deploying FTC code to NXT

It doesn't sound like your problem, but for others, there is a patch tole which fixes another servo problem. There is a new feedallwatchdogs.vi that van fix botching servos. Saw the problem at Md qual yesterday.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2012, 11:14
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: Servos locking up when deploying FTC code to NXT

Here is the vi that needs to be loaded into:

C:\Program Files\National Instruments\LabVIEW 2010\vi.lib\NXT\HiTechnic

It's FeedAllTETRIXWatchdogs.vi

https://decibel.ni.com/content/thread/11347

If you are using servos, and they don't respond correctly in auto or teleop... it's worth downloading.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #6   Spotlight this post!  
Unread 28-02-2012, 11:37
hokieteach hokieteach is offline
Registered User
FTC #5465
 
Join Date: Feb 2012
Location: Virginia
Posts: 2
hokieteach is an unknown quantity at this point
Re: [FTC]: Servos locking up when deploying FTC code to NXT

Hello,
Whippet we are having the exact same issue that you are describing. Can you give us some insight into what you did to resolve the issue.
Reply With Quote
  #7   Spotlight this post!  
Unread 09-03-2012, 00:01
PSHRobotics PSHRobotics is offline
Registered User
FRC #1182
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Missouri
Posts: 38
PSHRobotics is an unknown quantity at this point
Re: [FTC]: Servos locking up when deploying FTC code to NXT

Quote:
Originally Posted by PhilBot View Post
Here is the vi that needs to be loaded into:

C:\Program Files\National Instruments\LabVIEW 2010\vi.lib\NXT\HiTechnic

It's FeedAllTETRIXWatchdogs.vi

https://decibel.ni.com/content/thread/11347

If you are using servos, and they don't respond correctly in auto or teleop... it's worth downloading.
Thanks so much for providing this link. We were at the Missouri state event and found this thread by random luck right before the national anthem started for the event and had rewritten our code several times thinking that we had a coding issue. We even switched motor controllers and were about to switch servos.
The problem is very weird in that it only affected out 5 and 6 servo ports on the servo controller while all other servos worked fine.
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 13:14.

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