Go to Post My lasting impression of 217 (for years now) has been based on how their robot looks, dynamically. It is poultry in motion. :) - Richard Wallace [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 04-01-2002, 14:51
GreenDice GreenDice is offline
Registered User
#0891
 
Join Date: Jan 2002
Location: Syracuse, NY
Posts: 33
GreenDice is an unknown quantity at this point
Question delta_t data in Robot controller

Does anyone know the definition of the delta_t data byte that is sent from the Master uP to the PBasic uP?

Thanks in advanced.
__________________
Peter Liu
  #2   Spotlight this post!  
Unread 04-01-2002, 16:24
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Delta_T is the number of packets missed since the last time your PBasic program successfully got data from the Master CPU (which gets its data from the Operator Interface).

It was an attempt by FIRST to allow a little bit of "real time" control by giving the robot programs knowledge of how much time has passed since they maded it through the loop successfully.

The data is better than nothing, but it leaves a lot to be desired as a real time clock.

From time to time, I have used Delta_T or its twin packet_num to implement a counter that serves as a clock. It has some uses but it is very limited because the best resolution that you get is 25msec which is not all that great at times.

Hope this helps.

Joe J.

P.S. Typical Delta_T's should be 0, 1 or 2. The most I would recommend you live with is 4 -- absolutely MAX. Note that at 6 some rather drastic things start happening -- namely, the Master CPU thinks you are lost in a loop somewhere and turns off all your outputs -- this is not a good thing, believe me. If you consistently run at 5 for Delta_T you are only one radio interference problem from not working at all -- to my mind a very dangerous thing to risk. JJ
  #3   Spotlight this post!  
Unread 04-01-2002, 21:52
Dan 550's Avatar
Dan 550 Dan 550 is offline
Behold the Awesomeness!
AKA: Dan Richards
#0550 (BattleTech)
Team Role: College Student
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Jersey, Baby!
Posts: 310
Dan 550 is on a distinguished road
Delta-T woes...

When your Delta-T gets up there and the CPU turns off all your outputs while on the ramp, some funky stuff happens, specifically, confusion. This happened to 2 teams in a match my team had last year when both robots were on the bridge, heavier one in front. Logically, they rolled backward and achieved a nice velocity before they both got themselves working again, but at that point they became intertwined by a piston-mounted aparatus and a piece of extrusion, locked. the tug of war that resulted was not good, and no amount of teaming could knock them apart. That was a bad thing...
  #4   Spotlight this post!  
Unread 06-01-2002, 08:32
Scott358 Scott358 is offline
Engineer/Mentor
AKA: Scott5736
FRC #5736 (Kingsmen)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 1999
Location: Kings Park, Long Island, NY
Posts: 152
Scott358 is just really niceScott358 is just really niceScott358 is just really niceScott358 is just really niceScott358 is just really nice
Max limit before problems

At the kick-off workshop in NH, the Innovation First team expalined that the controller will sense a "problem" if it see's more than 4 data packets missing (which Joe states as a recommendation), and shut down for a time.

They also said there is more info on the Innovation First site (although I haven't gone there yet for this).

Regards,
Scott358
Festo Corp
Corporate Sponsor of Hauppauge High
Closed Thread


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
How much planning goes into your robot? Jnadke General Forum 41 29-01-2006 21:29
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
Controlling a FIRST robot with a Lego RCX Controller? archiver 2001 5 24-06-2002 04:19
Limiting PWM in pbasic archiver 2001 4 24-06-2002 00:38
WASH Palm scouting at the Championship Mike Soukup Scouting 2 19-04-2002 15:14


All times are GMT -5. The time now is 05:29.

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