Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Favor to ask re: dashboard (http://www.chiefdelphi.com/forums/showthread.php?t=43607)

seanwitte 09-02-2006 09:01

Favor to ask re: dashboard
 
In this thread Don Reid found what he believes is an error in the dashboard spec published by IFI. http://www.chiefdelphi.com/forums/sh...85&postcount=1.

I realize that the build season is coming down to the wire, but if someone has five minutes to validate his results I would really appreciate it. This software http://www.chiefdelphi.com/forums/pa...le&paperid=593 has been downloaded 87 times. If you are able to do me this one favor you'll earn my gratitude.

In the default code, replace Process_Data_From_Master_uP() with the following code, the download it to the robot controller and run it. The dashboard should display 111, 122, 133, 144, 155, 166 for the user bytes.
Code:

void Process_Data_From_Master_uP(void)
{
        Getdata(&rxdata);         
        Generate_Pwms(pwm13,pwm14,pwm15,pwm16);

        pwm01 = pwm02 = pwm03 = pwm04 = 127; 
        pwm05 = pwm06 = pwm07 = pwm08 = 127; 
        pwm09 = pwm10 = pwm11 = pwm12 = 127; 
        pwm13 = pwm14 = pwm15 = pwm16 = 127; 

        User_Byte1 = 111;
        User_Byte2 = 122;
        User_Byte3 = 133;
        User_Byte4 = 144;
        User_Byte5 = 155;
        User_Byte6 = 166;

        Putdata(&txdata); 
}


Mike Bortfeldt 09-02-2006 09:54

Re: Favor to ask re: dashboard
 
I have a dashboard program that I've been using for 2 years now, and the code matches what Don Reid as found. I don't remember if I found the spec to be wrong or not, but I wrote the application based on logging the bytes and determining what they represented (which kind of implies that the spec didn't seem right).

Mike

Mike Betts 09-02-2006 10:02

Re: Favor to ask re: dashboard
 
Sean,

Thanks to Don's input, IFI has acknowledged an error in the dashboard specification (here) and has published a new spec.

Mike

seanwitte 09-02-2006 11:03

Re: Favor to ask re: dashboard
 
That was quick, thanks. I do not have access to a robot controller so I'm working blind from the spec. I use a stamp to simulate the dashboard, but if the spec is wrong then the app will be wrong also. I appreciate the help.

seanwitte 09-02-2006 22:44

Re: Favor to ask re: dashboard
 
Quote:

Originally Posted by seanwitte
That was quick, thanks. I do not have access to a robot controller so I'm working blind from the spec. I use a stamp to simulate the dashboard, but if the spec is wrong then the app will be wrong also. I appreciate the help.

Oddly enough, when I went back to update the dashboard code it was correct. Someone must have told me about the problem and I forgot.


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

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