Wednesday, October 28, 2009

Callback functions, aka our evil fellows

Today I continued to implement in a nice way the passive mode. I wanted to have a connection over tcp/ip with the Desktop PC, but I figured out that if the sending frequency is too high, the network is not reliable.. I am looking forward for the wifi router.
I figured also out, after two days that.. Matlab is very bad using the callback functions! .. my idea was simple, every sampling time Matlab should implement a controller, I used the timer function; while, whenever a measurement is available Matlab should estimate the state, I used the callback function. Separately they work pretty OK, but.. when I tried to mix them together.. caboom.. Matlab cuts the measurements and it mess up everything. So, either I make the rs working on the Cricket or I change with an easier simple timer.

mmm..

Lab dismissed for the day.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.