Go to Post The propagation of the idea of making FIRST into a perfectly fair competition is just silly. - Andy Baker [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 31-05-2002, 19:58
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Re: Makin' a home-brewn dashboard program, and I need theory help!

Quote:
Originally posted by SuperDanman
Okay, so Ian and I have decided to make our home-brewn Dashboard program (after all, wheres the fun in using someone elses?). Anyways, before we do any programming, we want to make sure we have the theory correct.

Basically, this document describes whats in a Dashboard packet. Now, if I understand it correctly, ANALOG1-7 are the analog inputs on the RC, SWITCH_A, _B are the digi inputs on the RC, and PORT 1/2/3/4 Y-Axis are the raw joystick feedback from the OI?

Now, before we go further, my first question is the x/y axises in the dashboard packet, are these the inputs from the oi, or the appropriate variables in the default code?

Anyways, moving on... So basically, our main question is where do these variables come from? Do they come from the OI master processor, or do they come from the information processed by the PBASIC processor?

Basically, the reason why we want to know is we want to be able to check the processed variables, kinda as if we were debugging them. Now, the diagram on page 5 of the user manual was kinda ambiguous. It appears that it outputs the 'dashboard bits' (analog1-7, switches_a, _b ?) after the processing. Does this mean that we can have the code manipulate the input variables and then use these to view it from the dashboard port? Meaning, say that we wanted to view a PROCESSED pwm output. Could we set an unused Analog input from the RC to the PWM value and thus, be able to view the final PWM output on a dashboard program?

Any clarifications would be helpful
All of the values returned through the dashboard port are the hard-wired values, meaning that you can not change, for example, analog5, in code and have that modified value returned to the dashboard.
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
 


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
Creating a dashboard program Jeff_Rice Programming 18 04-05-2003 23:21
Anyone looking for more program space? archiver 2001 13 24-06-2002 02:20
Custom dashboard program available. Interest? archiver 2001 4 24-06-2002 00:45
miroboworks dashboard program? archiver 2000 3 23-06-2002 23:04
Yet another dashboard program Neal Probert Programming 3 12-05-2002 10:43


All times are GMT -5. The time now is 11:19.

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