Tuesday, December 25, 2012

When you could real grow up?

When you could real grow up?
When you face problems that you cannot say: "hi, father, help me to handle this!";
When you face problems that you cannot say: "hi, mother, tell me what to do!"
When you have to make decisions and take all the responsibilities...

Tuesday, December 11, 2012

A nice, and light weighted OpenGL based UI

If you want to use a light weighted OpenGL widgets, other than Qt or GTK, you may try GLUI. This library works well with GLUT and fast, very fast!

Check it in the following link:

Friday, December 7, 2012

Kalman filter dump results

Tried this for a while and I do not think this filter is really making any scenes to me. But a fact is that the input RSSI is also (very) noised. So, next time, I may need to find a clear, open and stable space to test the RSSI.
BTW, the configuration of the Kalman filter is curtail to the performance. Reading some fundamental papers and understanding the meaning of those parameters is necessary.

Not happy? Yes, not!

Eat outside
With 3 new friends
And with her
Long distance in home town
I will go back to be with him?
Date with my laptop everyday?
No chance to be together?
Who knows
When you became old, less available for sure
If you do not pick earlier, she will not wait you
Too late
I am?

Tuesday, December 4, 2012

RSSI example on TinyOS

The RSSI example is located in $TOSROOT/apps/tutorials/RssiDemo
There are four sub-directories which contains sending client, receiving client and a java based program to read the information.
There are a lot of tutorials online talking about this topic and I will not repeat. If you configured the system properly, you may just type few "make" to get it running. There are only one point other tutorials may omit.

The missing part is when you run the java client, you need to pass the "-coom" to the program. You could run "motelist" first to find out which serial port your device is attached. If your device is attached on COM3, then you could type in the following commands:

$ motelist
Reference  CommPort   Description
---------- ---------- ----------------------------------------
XBOQDNIG   COM4       Port_#0003.Hub_#0005

$ java RssiDemo -comm serial@COM3:telos