Go to Post What does code sound like going though a complier? - Hiteak [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 31-01-2009, 20:10
Abra Cadabra IV's Avatar
Abra Cadabra IV Abra Cadabra IV is offline
Still spinning in circles
AKA: Katy W.
FRC #2429 (Blockheads), FTC #25 (Rock-n-Roll Robots)
Team Role: Alumni
 
Join Date: Apr 2008
Rookie Year: 2008
Location: La Canada, CA / Pittsburgh, PA
Posts: 98
Abra Cadabra IV is just really niceAbra Cadabra IV is just really niceAbra Cadabra IV is just really niceAbra Cadabra IV is just really niceAbra Cadabra IV is just really nice
[FTC]: LabView servo issue

My team's almost done with programming our robot in LabView and we've hit some bizarre snags.

Our bot has an arm, a pivoting bucket, and a claw. Our arm is controlled by two motors, our bucket is controlled by two servos (y-cabled together and facing the same direction), and our claw is controlled by one servo opening/closing the claw and one rotating the claw itself. We have code installed that, if a button is pressed, will move our arm to a certain location (through use of encoders) and will also rotate the bucket to a certain position. We have four buttons programmed like this, to move the arm and bucket to four distinct positions.

However, when we do this:
-Our motors often do not stop at the same time and one will keep going for 1/4 to 1/2 rotation longer
-The servos on our bucket twitch back and forth uncontrollably and are very slow in moving to the position we tell them to
-The servos on the claw also move when the buttons are pressed, even though they are most definitely NOT called in the program

What could be causing this? We've downloaded all the updates. Our servos and motors are running in the same direction and we've confirmed that they're not fighting each other. It's truly confusing.

Also, do the other programming languages have these same problems or is it just LabView?
__________________
Proud alumna of:
FRC Team 2429 - Blockheads
and
FTC Team 25 - Rock 'n' Roll Robots
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2009, 13:44
jbbjjbt jbbjjbt is offline
VRC Coach
AKA: Jon T
VRC #0177 (Twisted Botz)
Team Role: Coach
 
Join Date: Feb 2006
Rookie Year: 2004
Location: Gloucester, VA
Posts: 110
jbbjjbt is an unknown quantity at this point
Re: [FTC]: LabView servo issue

Quote:
Originally Posted by Abra Cadabra IV View Post
My team's almost done with programming our robot in LabView and we've hit some bizarre snags.



However, when we do this:
-Our motors often do not stop at the same time and one will keep going for 1/4 to 1/2 rotation longer
-The servos on our bucket twitch back and forth uncontrollably and are very slow in moving to the position we tell them to
-The servos on the claw also move when the buttons are pressed, even though they are most definitely NOT called in the program

What could be causing this? We've downloaded all the updates. Our servos and motors are running in the same direction and we've confirmed that they're not fighting each other. It's truly confusing.

Also, do the other programming languages have these same problems or is it just LabView?
We've been through a lot of these issues.
On thing to try is to send 0 position to the servo motors you are not moving. I.E., if you want to move servo motors 5 and 6 to 127, send 0 to servo motors 1 - 4 and 127 to servos 5 and 6. This should be the default in the command but somehow can get easily messed up. Also for 2 servos facing the same direction you may need to send different values to get them to move to the same place.
__________________
Jon Thompson
Coach
VRC 177 Twisted Botz
Sponsored by FRC 122
NASA Knights
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Tips page on using FTC Encoders with LabVIEW PhilBot FIRST Tech Challenge 7 27-01-2009 14:00
[FTC]: [FTC]: RobotC Template Problem (causing an FMS issue) and Potential Servo Prob PackersFan FIRST Tech Challenge 11 26-01-2009 21:25
[FTC]: First problem with FTC and LabView.....? PhilBot FIRST Tech Challenge 5 07-11-2008 10:36
[FTC]: FTC Controller Station Connectivity (Bluetooth and USB) Issue jbbjjbt FIRST Tech Challenge 6 05-11-2008 11:49
[FTC]: FTC Servo-Motor Problem with Labview dnhansen FIRST Tech Challenge 1 26-10-2008 00:43


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

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