Thread: Dashboard?
View Single Post
  #8   Spotlight this post!  
Unread 10-07-2003, 20:41
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
Re: Dashboard?

Quote:
Originally posted by ryan_f
I'm not the teams programmer but I'm wondering if anyone has ever made their own dashboard program similar to innovation first's but it would show at least 8 pwm's. How would I go about making a new dashboard?
i've had plenty of trouble with this problem, trying to send back all the PWM data. I've learned that by manipulating the Out bits (Out8 --> Out15) you can send up to an entire byte back. That's enough to show two states for each PWM, but only two. I have tried to multiplex the feedback, by timing based on the Out7 bit (the one that toggles on and off to show that the PBASIC chip is working), but I have had no luck with that, as the C++ code could not decode the streams correctly (sometimes data would come back right, other times wrong, but predictably wrong). In short, I gave up on that and figured out how to deal with less variables being given back.

I'm hoping that next year the new controller will have much more flexibility with what is sent back, and how much is sent back. This is almost a must, if we are to have more autonomy. I think that it's useful to feedback anything and everything you can, so you know if anything is wrong at the end of autonomy, but that's currently next to impossible without building a custom board. In anycase, we should be learning of the new controllers soon, so don't pull your hair out if you can't get a dashboard that does everything you want it to do with these controllers.
__________________
AIM --> Woloi
Email --> ian@woloschin.com