Go to Post Math is FUN! - Cynette [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
  #16   Spotlight this post!  
Unread 04-05-2003, 19:42
Jeff_Rice's Avatar
Jeff_Rice Jeff_Rice is offline
ElementisRegamusProelium
#1359
Team Role: Programmer
 
Join Date: Dec 2002
Location: Linn County
Posts: 283
Jeff_Rice will become famous soon enoughJeff_Rice will become famous soon enough
I have been reading the innovation first documentation on this, and I have discovered that you can use analog sensor bytes 1 through 5. If you edited these bytes, the edited results would get sent to the oi dashboard port. I want to try this, but I don't have the necessary programming skills yet. Could somebody try this and tell me if it works?

If it does, then you have six bytes in which to put your dashboard data. (I'm still counting the led byte)

http://www.innovationfirst.com/FIRST...rd%20_Spec.pdf

Oneangrydwarf: I agree with you. It would be awesome to make a control with tactile feedback.
__________________
"He said my name is Private Andrew Malone
If you're reading this then I didn't make it home
But for every dream that's shattered another one comes true
This car was once a dream of mine now it belongs to you
And though you may take her and make her your own
You'll always be riding with Private Malone" David Ball, "Private Malone"

Last edited by Jeff_Rice : 04-05-2003 at 19:46.
  #17   Spotlight this post!  
Unread 04-05-2003, 19:50
DanL DanL is offline
Crusty Mentor
FRC #0097
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Somerville, MA
Posts: 682
DanL is just really niceDanL is just really niceDanL is just really niceDanL is just really niceDanL is just really nice
Send a message via AIM to DanL
http://www.innovationfirst.com/FIRST...m_Overview.pdf

View Page 4

There are three processors on the Robot Controller. The two of significance are the main processor and the PBasic stamp. The return information is sent back by the main processor. It's the main processor that reads in the analog inputs and sends them to the PBasic stamp. The PBasic stamp only returns the dashboard bits (the LED bits in the code). After the PBasic stamp does that, the main processor gathers all of the information and sends it to the modem to be transported back to the OI.

Bottom line, you're thinking good, but you can't do that. The only bits that you can change are the 8 in the dashboard byte and the BasicRun bit.
__________________
Dan L
Team 97 Mentor
Software Engineer, Vecna Technologies
  #18   Spotlight this post!  
Unread 04-05-2003, 21:04
Jeff_Rice's Avatar
Jeff_Rice Jeff_Rice is offline
ElementisRegamusProelium
#1359
Team Role: Programmer
 
Join Date: Dec 2002
Location: Linn County
Posts: 283
Jeff_Rice will become famous soon enoughJeff_Rice will become famous soon enough
Well...

How about using a couple of first or last bits as sigs?

ie:

00(2bits +1st part of byte 1)
11(2bits +second part of byte 1)
10(2bits +1st part of byte # 2)
01(2 bits +2nd part of byte # 2)

This would take at least .1 seconds to do, but you get two bytes out of the deal. My guess is that your problems arose because of the order in which the bytes and bits are sent.

Edit/
You could even do a third byte from the bits
__________________
"He said my name is Private Andrew Malone
If you're reading this then I didn't make it home
But for every dream that's shattered another one comes true
This car was once a dream of mine now it belongs to you
And though you may take her and make her your own
You'll always be riding with Private Malone" David Ball, "Private Malone"

Last edited by Jeff_Rice : 04-05-2003 at 21:12.
  #19   Spotlight this post!  
Unread 04-05-2003, 23:21
Adam Shapiro's Avatar
Adam Shapiro Adam Shapiro is offline
Registered User
FRC #0555 (Montclair Robotics)
Team Role: Alumni
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Montclair, NJ
Posts: 401
Adam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud of
Send a message via AIM to Adam Shapiro
Hey everyone. I just posted the code for Dashboard3D http://www.chiefdelphi.com/forums/sh...threadid=20592. Please check it out and, if you still want to make your own dashboard, it could be very useful. It is in total working condition.
__________________
Mentor to Teams 555, 1929, and 2070!
Currently working in hardware design at Cisco.
Cornell University DARPA Urban Challenge - http://www.cornellracing.com
Co-Captain Team 555 - 2003,2004,2005
Trust, Love, and Magic
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
Custom dashboard program available. Interest? archiver 2001 4 24-06-2002 00:45
Need help in creating program to use servo's to shift drive archiver 2001 19 24-06-2002 00:35
miroboworks dashboard program? archiver 2000 3 23-06-2002 23:04
CCISD Updated Dashboard program v2.2.1 archiver 2000 3 23-06-2002 21:57
Yet another dashboard program Neal Probert Programming 3 12-05-2002 10:43


All times are GMT -5. The time now is 14:52.

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