View Single Post
  #12   Spotlight this post!  
Unread 21-08-2006, 15:07
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Distinguish Serial Data?

Quote:
Originally Posted by Tom Bottiglieri
Great point Jamie.

I probably should have worded my post in a different way. I didn't want to get across so much the method (string vs. hex vs. bin vs. whatever), but rather the idea of only updating certain array values when necessary. Now that I've thought about it, this probably isn't the best solution, but this kind of data syncing is what has been beat into my brain lately with some of the ajax stuff I've been doing.

So pretty much 6600gt just needs to decide whether he wants a static or dynamic serial stream. Static will be easier to parse, but may send a whole bunch of non changing data values that are just taking up space and transmission time. But then again, we're talking about data on such a small scale it probably won't make a huge difference in overall processing time. (Transmission + parse + execution)
Thanks everyone

Dynamic serial stream seem real interesting because the mouse can only change 1 value at a time, thus only one value will be modified at any given time. This could help vastly to reduce the load on the RC, while increaseing the load on the PC...so I will do it.

Edit: I just realized its more complicated that this. There is a checkbox in front of each one of the 16 pwm sliders. If it is checked then I am sending the RC new values otherwise the RC will be sending me its current values for that particular pwm(not checked ones). So everytime I need to tell the RC which pwms I want to control and which ones I don't. Do you think static will work better here?

Last edited by 6600gt : 21-08-2006 at 15:45.