Go to Post And those who DO know won't talk, even for Krispy Kremes. - DonRotolo [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-02-2004, 14:09
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Infrared Beacon and Sensor Diagnostics Code Released

I've written some code that I hope will help teams diagnose infrared beacon and sensor problems. Running on the FRC-RC, the code will send to the console window a dump of all raw data generated by the receiver code every two seconds. The zipped file, frc_diagnostics.zip, can be found here.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #2   Spotlight this post!  
Unread 25-02-2004, 16:03
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Infrared Beacon and Sensor Diagnostics Code Released

Thanks, Kevin. I'm sure there will be many appreciative teams out there. Thanks for all your code contributions.
__________________

  #3   Spotlight this post!  
Unread 25-02-2004, 17:37
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Infrared Beacon and Sensor Diagnostics Code Released

Quote:
Originally Posted by Texan
Thanks, Kevin. I'm sure there will be many appreciative teams out there. Thanks for all your code contributions.
Thanks. It's really cool knowing that a few thousand people have looked at my (and Rich Petras') code and maybe learned something by it. I've had many great e-mail and IM exchanges with students who clearly understand how this stuff works and wanted to learn more about topics like control theory and digital signal processing. Inspiring HS students to want to learn more about cool stuff like this is one of the many reasons I really, really dig FIRST.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #4   Spotlight this post!  
Unread 25-02-2004, 17:50
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Infrared Beacon and Sensor Diagnostics Code Released

Can you make general debug code? Like last night, I could have used something that told me about the analog ins.

It doesn't need to be complex, just use the printf and a structure like this:
PortType_## Value
DigI 1-18 0-1
DigO 1-18 0-1
AnaI 1-16 0-1
Rly 1-8 -1-1
Pwm 1-16 0-255 (Just in case)

Making a VB prog to read them would be easy. Heck, I could do it tomarrow . Well, a little later.
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
IR senors detect pulses for 360 degrees Chaychay Technical Discussion 6 15-02-2004 15:06
IR Beacon/reciever not working... still... Ferazel2001 Programming 23 04-02-2004 23:30
ir beacon range doy Programming 10 29-01-2004 16:46
trouble with beacon tracking code [53] opticruzer Programming 9 27-01-2004 12:19
edu and ir beacon alan koch Robotics Education and Curriculum 4 26-01-2004 22:43


All times are GMT -5. The time now is 16:53.

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