Thread: Dashboard Fun
View Single Post
  #1   Spotlight this post!  
Unread 03-02-2004, 10:54
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.
Dashboard Fun

Ok, so I dug up my Dashboard program from last year, and I've been working on updating it to work with this year's OI. I ran into a small problem though.

The analog inputs on the robot have 10 bit registers, as far as I can tell. We can only output bytes, 8 bits, back to the robot. The easiest way is to just chop off the two lowest bits, which may help to reduce the noise on the current sensors, but might hinder other applications. The only other idea I could think of was to use two bytes, and match it all back up once the computer receives the data.

Can anyone else building a dashboard program offer any input on how they're working around this rather annoying problem?

Lastly, anyone who wants a simple C++ console dashboard program, let me know and when I'm done I'll put it in the white papers. We use this as a backend, mostly because I never learned C++ GUIs, and we found a way to make much cooler GUIs anyways . Give me a few days though, as I think my priority this week is getting my Eagle stuff into council...
__________________
AIM --> Woloi
Email --> ian@woloschin.com