Go to Post FIRST inspired me to become a pain in the patootie or something. :) - Madison [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
  #7   Spotlight this post!  
Unread 17-01-2002, 21:17
diego25 diego25 is offline
Registered User
#0897
 
Join Date: Jan 2002
Location: Toronto, Ontario
Posts: 10
diego25 is an unknown quantity at this point
Quote:
Originally posted by Kai Zhao
3 ways (that I can think of):

-Make a counter. Crude example code below.
<snip>

-Use the gyroscope and record your angular velocity (or is it acceleration?). Manipulate the data to suit your needs.

-What I call 'CSS'. Basically, it is a wheel with sensors on or near it.
<snip>
Yup, I was thinking about putting a counter type of thing also. But I was afraid that each iteration of the mainloop will have different running times and therefore the amount of output will also be variable. Therefore, it won't be able to center again, when the joystick is in the middle. But again, these are just my useless newbie instincts so I'm going to try this tomorrow when I get to school

About the 'CSS', I don't think I'll do it that way...I'd like to keep the robot simple; it's just my first year, so I don't want to make it too complicated and end up with a non-working robot.

Thanks,

Diego

Last edited by diego25 : 17-01-2002 at 21:20.
 


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
PBASIC ARCTAN function Greg Ross Programming 14 11-05-2003 12:28
Obscure PBASIC for RoboEmu rbayer Programming 1 28-03-2003 23:57
PBasic 2.5 vs. 2.0 Anthony Kesich Programming 6 09-02-2003 22:06
Diagrams for wiring of 15 and 25 pin connectors archiver 2000 2 23-06-2002 23:03
Subtotaling in PBASIC? Ian W. Programming 17 02-02-2002 20:22


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

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