Go to Post I don't fully buy into the 'we're all winners' concept. That is a broad statement that doesn't really say much. How did we become all winners? What did we do to become winners? Pay an expensive registration fee and participate in a robotic competition? - JaneYoung [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-02-2013, 15:48
Doctor Gandalf's Avatar
Doctor Gandalf Doctor Gandalf is offline
Registered User
AKA: Kellan
FRC #0617 (The Enginerds)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Virginia
Posts: 8
Doctor Gandalf is an unknown quantity at this point
Question [FTC]: [FTC] Labview Servo Malfunction

Hi guys,

I'm trying to program a new arm for my FTC team (3116) to use at states. It uses three servos (one at the bottom, one in the middle, and one as a wrist), which I set up to individual buttons; each has two (up and down).
When I tested the program, it repeatedly switches up which servo goes to which button.

I tried to troubleshoot, first by replacing the NXT (three different ones with the same problem) and the servo controller (two different ones, no fix). Then, I tried to use a new program. Rather than making two case structures nestled in each other (like the auto generated code), I unpacked the controller button cluster, sending each button to an individual if else test.

This worked better, but it wouldn't store the value of the buttons (meaning the servos would constantly move between the positions) - and the NXT wouldn't let me make a Boolean memory unit to store the data. It is important to note that the servos didn't respond to the wrong signal at that point.

Is there anything I missed? It seems to be a problem in the coding, but I'm not sure what needs to be fixed. Is there a better way to program the servos than what I tried?

Thanks for the help!
Reply With Quote
 


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 18:23.

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