Go to Post Quoting Fred Durst--"Bring it on." - Billfred [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 17-01-2013, 20:08
pickett pickett is offline
Registered User
FRC #0519
 
Join Date: Feb 2012
Rookie Year: 2003
Location: Michigan
Posts: 7
pickett is an unknown quantity at this point
180 turn on button press in labview

Hello all

I want to program two buttons that when pressed spin the robot 180 degrees then stops. Currently when I press the two buttons the robot turns slightly to the right. Help Please

My code is based off of telling the arcade drive to turn for a set amount of time and then stop. Attached code is placed in Teleop.

It takes about 5 sec to spin the robot in 180degrees under operator control.

How would I make the robot turn 180 deg using encoders on the gear box programing wise?

Thanks in advance
Attached Thumbnails
Click image for larger version

Name:	screenshot 1.PNG
Views:	72
Size:	57.1 KB
ID:	13550  
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 10:49.

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