Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FIRST Tech Challenge (http://www.chiefdelphi.com/forums/forumdisplay.php?f=146)
-   -   [FTC]: Servos locking up when deploying FTC code to NXT (http://www.chiefdelphi.com/forums/showthread.php?t=101837)

Whippet 03-02-2012 00:55

[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.

Jeremy Germita 03-02-2012 04:57

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.

Whippet 04-02-2012 23:09

Re: [FTC]: Servos locking up when deploying FTC code to NXT
 
Quote:

Originally Posted by jeremypg399 (Post 1119028)
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.

PhilBot 05-02-2012 07:55

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.

PhilBot 05-02-2012 11:14

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.

hokieteach 28-02-2012 11:37

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.

PSHRobotics 09-03-2012 00:01

Re: [FTC]: Servos locking up when deploying FTC code to NXT
 
Quote:

Originally Posted by PhilBot (Post 1120374)
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.


All times are GMT -5. The time now is 18:53.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi