Go to Post To me, every robot is a moving mechanical art form, a sculpture made of aluminum, motors and gears, and I think that soon we will be seeing those art forms involved in some of the most fantastic robotic "dances" that any of us have ever seen - DougHogg [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 09-03-2007, 00:31
seanl's Avatar
seanl seanl is offline
"The Everything person"
FRC #0867 (Absolute Value)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Arcadia, CA
Posts: 267
seanl will become famous soon enoughseanl will become famous soon enough
Question autonomous timing

how can i program the robot to do something for a amount of time because i want to program autonomous to just go toward the rack.
so far i got this but im not sure how the while loops are going to work
while(autocounter2<=10)
{
pwm01=200;
pwm02=254;
autocounter2=autocounter2++;
}
if(autocounter2==2)
{
while(autocounter<=50)
{
pwm01=254;
pwm02=254;
autocounter=autocounter++;
}
}
 


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
Timing Belt Clamp shorton Technical Discussion 10 18-07-2006 22:50
Distance timing out bludstayne Programming 5 05-03-2004 13:47
question about autonomous timing zainali Programming 6 23-02-2004 22:58
Timing Codes Ryan Cumings Programming 11 29-01-2004 22:26
Solution to Timing Loops Steven Carmain Programming 39 10-02-2003 13:33


All times are GMT -5. The time now is 17:28.

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