Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Infrared Beacon and Sensor Diagnostics Code Released (http://www.chiefdelphi.com/forums/showthread.php?t=26031)

Kevin Watson 25-02-2004 14:09

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

Ryan M. 25-02-2004 16:03

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. :)

Kevin Watson 25-02-2004 17:37

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

Astronouth7303 25-02-2004 17:50

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 :yikes:. Well, a little later.


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi