Go to Post Fancy that, better robots winning matches... - DampRobot [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 13-02-2011, 20:20
dmitch's Avatar
dmitch dmitch is offline
Chief Head Electrical Guy
AKA: Daniel Mitchell
FRC #1997 (Stag Robotics)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Bishop Miege High School
Posts: 142
dmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the rough
Code Check

Our teams goal is to use 2 window motors to drive the first segment of our arm and one as yet undefined motor to drive the second part (the farther out part). Attached is the code that I believe will do this. I will check it tomorrow but if there is something blatantly wrong I would like to have it solved by tomorrow morning so I don't waste much-needed time.

On the example the open and close blocks are together in the sequence structure. In the code they are closed in the proper place in the FRC framework.

We are using potentiometers, we have yet to find the correct voltage for the correct positions so I just put zeros there for now. This is just one example the actual robot code is on the last 3 attachments. Thank You for any and all Help!
Attached Files
File Type: vi Motor.vi (24.5 KB, 9 views)
File Type: vi Teleop.vi (14.5 KB, 12 views)
File Type: vi Begin.vi (27.8 KB, 6 views)
File Type: vi Finish.vi (15.1 KB, 4 views)
__________________
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 09:20.

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