View Single Post
  #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:	71
Size:	57.1 KB
ID:	13550  
Reply With Quote