Go to Post Oh man... 20% skinnier, 40% dorkier, ... if that's what turns into one of our best mentors, I REALLY need to find a new hobby. ;) - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2006, 09:01
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
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);  
}
  #2   Spotlight this post!  
Unread 09-02-2006, 09:54
Mike Bortfeldt Mike Bortfeldt is offline
Registered User
FRC #1126 (& 1511)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Rochester, NY
Posts: 119
Mike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud of
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
  #3   Spotlight this post!  
Unread 09-02-2006, 10:02
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
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
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #4   Spotlight this post!  
Unread 09-02-2006, 11:03
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
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.
  #5   Spotlight this post!  
Unread 09-02-2006, 22:44
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dashboard Programs? EHaskins Programming 5 31-01-2006 14:01
Getting Dashboard data in OS X 10.4.4? Billfred LabView and Data Acquisition 3 28-01-2006 15:02
2004 Dashboard Protocal vs 2005 Dashboard Protocal Kyle T Programming 4 14-03-2005 22:19
Dashboard for .NET seanwitte Programming 8 16-02-2005 10:09
New dashboard packet spec Ameya Programming 2 08-01-2004 19:59


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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