Go to Post While we discuss this stuff, let's keep our heads on straight. Open your eyes and look around you. Let's celebrate our common goal while accepting our differences. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 26-01-2008, 14:49
Sykan's Avatar
Sykan Sykan is offline
Lead Programmer
AKA: David
FRC #0540 (Team 540)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Virginia
Posts: 24
Sykan is on a distinguished road
Using While Statements

I was wondering how I can program a continuously updating while loop in teleop mode. for example if i wanted to complete a 90 degree turn: I've been trying it as while(temp_gyro_angle<900) but the robot freezes. How do I continuously update the while loop and get out the the while loop when finished?

Thank you for your help.
 


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
Filtering out Vibration while using a KOP Accelerometer joshyboy9987 Electrical 31 22-01-2008 08:20
impossible statements Dan Zollman Math and Science 28 20-08-2005 18:34
Conditional #define Statements Ian W. Programming 3 14-02-2004 18:14
Contradictory FIRST Statements Gobiner Rules/Strategy 10 14-01-2003 16:12
Else Statements!!! Adam Shapiro Programming 9 22-12-2002 01:27


All times are GMT -5. The time now is 23:53.

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