Go to Post My most distinct memory was watching Tom fix our robot's frame... by whacking it with the hammer. - Jaine Perotti [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 19-01-2003, 18:17
Gui Cavalcanti's Avatar
Gui Cavalcanti Gui Cavalcanti is offline
Robogeek
no team
Team Role: College Student
 
Join Date: May 2001
Rookie Year: 2001
Location: Needham, MA
Posts: 224
Gui Cavalcanti is a name known to allGui Cavalcanti is a name known to allGui Cavalcanti is a name known to allGui Cavalcanti is a name known to allGui Cavalcanti is a name known to allGui Cavalcanti is a name known to all
Send a message via AIM to Gui Cavalcanti
Alright, here's what I know:

The OI passes data to the RC in a very continuous, predictable fashion: every 26 milliseconds, one data packet is sent to the robot.

Now, the robot's cycle is fully dependant on the code it's running through, so it may miss a cycle or two. Therefore, InnovationFIRST created a variable named delta_T that keeps track of how many packets you missed in the last cycle. Can you see where this is going?

If you keep track of delta_T, you can tell how many milliseconds have passed. Errors will add up though, as you get caught in the middle of cycles and so on... it's better than nothing though.

Someone correct me if I'm wrong.
__________________
Gui Cavalcanti

All-Purpose College Mentor with a Mechanical Specialty

Franklin W. Olin College of Engineering, Class of 2008
 


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
time change David Kelly Chit-Chat 14 06-04-2003 23:10
Solution to Timing Loops Steven Carmain Programming 39 10-02-2003 13:33
How long should production time be??? archiver 1999 4 23-06-2002 23:16
what time zone? Amy Beth CD Forum Support 5 15-04-2002 02:41
need help with time zone! Ken Leung General Forum 6 25-06-2001 12:44


All times are GMT -5. The time now is 18:31.

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