Posted by Jim at 1/23/2001 5:26 PM EST
Student on team #435, Robodogs, from Southeast Raleigh HS and IBM.
I have a question about the Dashboad port. I’m tring to create a cpp program that will take the outputted data and write it to a text file. Sadly though, I’ve never worked with serial ports in programming and am having problems. Does anyone have a good rs232 driver for C++ so that we can access the com port from our own program? Also, although I have a fairly good idea of how to break up the 25 byte data packet, would anyone care to elaberate on that process? Thanks for your help.
Posted by Matt Leese at 1/23/2001 5:48 PM EST
Other on team #73, Tigerbolt, from Edison Technical HS and Alstom & Rochester Institute of Technology.
In Reply to: Dashboard Program
Posted by Jim on 1/23/2001 5:26 PM EST:
Well, I wrote a Dashboard Viewer in C++ last year that you can feel free to use. It does include the source code and you can more or less do what you want with it (please read the enclosed license file however). There are still a few issues with it (mainly a known memory leak) but it’s nothing major. I’ve been hoping to fix it up at some point and update it to the the current protocol specs (it’s more of a name change than anything else – the current form will read data correctly). It’s designed to run in an (ack!) Windows environment and is multithreaded. The actual protocol decoder and port reader part of it are written in straight C while the GUI interface is written in MFCs in C++. You should be able to get a good idea of how to right something to read the Dashboard port from it. If you have any further questions please feel free to contact me.