Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Error in dashboard spec (http://www.chiefdelphi.com/forums/showthread.php?t=43371)

Don Reid 05-02-2006 19:01

Error in dashboard spec
 
I believe I have found an error in the dashboard spec.
The file dashboard-specification.pdf, dated 1.5.2005 says (on page 4) that
the "extended" packet is:

Code:

...
    Byte06 USER BYTE 2
    Byte07 USER BYTE 3
    Byte08 CTRL_A
    Byte09 USER BYTE 5
    Byte10 CTRL_B
    Byte11 USER BYTE 5
    Byte12 CTRL_C
    Byte13 USER BYTE 6
    Byte14 PACKET NUMBER
    Byte15 USER BYTE 6
    ...

My experiments have shown that byte07 is not USER BYTE 3, but that byte09 is, and that bytes 4 & 5 are in byte11 and byte13, like this:

Code:

...
    Byte06 USER BYTE 2
    Byte07 ?????????
    Byte08 CTRL_A
    Byte09 USER BYTE 3
    Byte10 CTRL_B
    Byte11 USER BYTE 4
    Byte12 CTRL_C
    Byte13 USER BYTE 5
    Byte14 PACKET NUMBER
    Byte15 USER BYTE 6
    ...


Jared Russell 05-02-2006 23:07

Re: Error in dashboard spec
 
Can anyone else confirm this?

seanwitte 06-02-2006 09:10

Re: Error in dashboard spec
 
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?

Don Reid 06-02-2006 12:40

Re: Error in dashboard spec
 
1 Attachment(s)
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.

seanwitte 06-02-2006 12:54

Re: Error in dashboard spec
 
Quote:

Originally Posted by Don Reid
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.

Did you validate the results with the IFI dashboard? Just curious whether theirs shows the correct values.

Don Reid 07-02-2006 12:40

Re: Error in dashboard spec
 
Quote:

Originally Posted by seanwitte
Did you validate the results with the IFI dashboard? Just curious whether theirs shows the correct values.

I posted the same basenote to their forum. No responce yet.

Don Reid 09-02-2006 12:39

Re: Error in dashboard spec
 
IFI has now posted http://www.ifirobotics.com/forum/vie....php?p=579#579

"Answer: You are correct. We have updated the dashboard-specification.pdf. Thanks for the feedback."


All times are GMT -5. The time now is 01:36.

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