View Single Post
  #4   Spotlight this post!  
Unread 06-02-2006, 12:40
Don Reid Don Reid is offline
Registered User
#0997
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Corvallis, Oregon
Posts: 45
Don Reid will become famous soon enough
Re: Error in dashboard spec

Quote:
Originally Posted by seanwitte
How did you determine that the packet spec is wrong? If it's wrong I'd like to patch the software I've released, but I don't have access to a robot controller to verify. Can someone please confirm or deny the claim?
First I wrote a small c program to decode the packets based on the spec, I printed each of the duplicate entries shown. Then I hacked a copy of the robot code to output unique and changing values to the User_Byte variables. Looking at the reaults showed what was
happening.

I'll attach my updated dump code, It requires that the serail port already be set to 19200 baud etc. I write this for gcc on Linux, results on other platforms may vary.
Attached Files
File Type: c read.c (1.8 KB, 30 views)
__________________
Don Reid