Go to Post By affiliating yourself with a team, you are representing them at all times, as you are a member and part of that team. - Chris is me [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 12-02-2003, 22:53
cantwell03's Avatar
cantwell03 cantwell03 is offline
Registered User
#0651 (Schuylkillbotics)
 
Join Date: Feb 2003
Location: Schuylkill County, PA
Posts: 1
cantwell03 is an unknown quantity at this point
Send a message via AIM to cantwell03
Ok one problem

When creating my code for the Autonomous mode, i'm running into a problem with making a counter of some sort so i can change directions or perform actions during the mode. I thought i'd try setting up one like most other languages time = time + 1 << thats how i know how to do it, its plan and simple. I've not had too much experiene with PBASIC but there must be another way.

Also my if statments sorta go like this, are they the problem?

if time < (a certain time) then do_a_turn

do_a_turn:
"turn code"

if theres something wrong with that lemme know too. I'm probly doing something really dumb, but its a big problem we're having.
thanks!
 


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
Victor problem Andy Baker Electrical 15 24-06-2003 09:49
The problem with scouting... archiver 2001 10 23-06-2002 23:49
joystick problem archiver 2000 12 23-06-2002 23:08
Major problem with chipphua motors aka Scott White Motors 18 19-03-2002 19:44
Heres a big problem that I think Discreet does not know what they are talking about. wes16zeus 3D Animation and Competition 9 09-01-2002 23:31


All times are GMT -5. The time now is 02:34.

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