View Single Post
  #2   Spotlight this post!  
Unread 24-06-2002, 00:19
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
delta_t and packet_num

Posted by Joe Johnson at 2/5/2001 10:11 PM EST


Engineer on team #47, Chief Delphi, from Pontiac Central High School and Delphi Automotive Systems.


In Reply to: Counting using delta_t and packet_num
Posted by Kai Zhao on 2/5/2001 9:18 PM EST:



My understanding is that delta_t is the number of data
packets MISSED by your PBASIC program. This occurs
when your code takes longer than the time it takes to
send another data packet (some say 40ms but I thought
it was 25ms -- these are very similar numbers and I can
never hold them straight in my head -- either it is 40
Hz and 25msec or it is 25Hz and 40msec -- somebody help
me out).

Packet number is an index that tells you the index of
the packet of data you just got. It increases by one
each time the OI sends a data packet and it wraps
around every
255 packets.

These two bytes carry the same information, just parsed
a bit differently.

Joe J.



__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.