Go to Post "If I had a nickel for every time our robot actually worked, I'd have one whole nickel. It was fail. Epic fail." - lol, a team at the NYC FTC tourny - Akash Rastogi [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 11-02-2011, 00:48
Salado Robotics Salado Robotics is offline
Jacob Krustchinsky
AKA: Jacob Krustchinsky
FRC #3743 (Eagle Bots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Salado, Texas
Posts: 2
Salado Robotics is an unknown quantity at this point
Help with servos

Our gripper utilizes to servos that open and close the mechanism to allow for a tube to fit snuggly in the area. The servos sit on the mechanism opposite mirroring each other. The issue we are having is, how to control both of the servos that turn in opposite directions with labView. I can pull both of the servos in and then use the Joysticks to set the position ( throttle controls going opposite directions currently ) but I want to control them both with one throttle control. Can anyone think of a decent, simple and clean approach to this problem?
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2011, 22:17
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Help with servos

You can connect the joystick output to two servos, and Negate one of them.

You could also use joystick buttons:
Use a logic switch (from the Comparison palette) and connect the switch (center input) to one of the buttons. True would set the value if you press the button, False would set the value if you don't press the button. Once again, you can connect it to both servos and Negate one. I recommend the not-pressed state to be closed if you do this, since claws are closed most of the time.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
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 08:12.

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