Log in

View Full Version : Favor to ask re: dashboard


seanwitte
09-02-2006, 09:01
In this thread Don Reid found what he believes is an error in the dashboard spec published by IFI. http://www.chiefdelphi.com/forums/showpost.php?p=446985&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/papers.php?s=&action=single&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.

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
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
Sean,

Thanks to Don's input, IFI has acknowledged an error in the dashboard specification (here (http://www.ifirobotics.com/forum/viewtopic.php?t=475)) and has published a new spec.

Mike

seanwitte
09-02-2006, 11:03
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
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.