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

Monday, September 10, 2012

Leave Fedora, and more than pain left

I got a Lenovo IdeaPad laptop last week with Intel i5 processor. As been tortured by Linux with NVidia Optiums for a long time, I highly expect to have a well-drived Linux machine. In the past few years, Intel has been spending a significant amount of efforts on Linux and collaborate with Linux developers to provide up-to-date drivers to the community. Been affected by Intel`s reputation, I choose this Core Ivy Bridge i5 machine without hesitation.

After finishing the installation of new Fedora 17, I found there is not network interface, and only a local loopback. After few investigation, I found the wireless hardware actually is a Intel 2200N, and as far as I know, those drivers have been integrated into kernel 2.4. Then, after searching for 2 hours, what happened became more and more clear. It seems a bug only happened between Ivy Bridge processor and Intel wireless lan. So threads said that a conflict may caused by “acer_mod”, but in my case, no mod related acer is loaded. Then I do not know what to do next.

Then I connect wired lan to my laptop and plan to update the kernel, which may bring some good luck… But LAN also do not work. Atheros LAN also need driver! Ok, at that time, I gave up! I think if Fedora cannot handle it, why do not I try Debian/Ubuntu. So I download Ubuntu 12.04, and then, the wireless works.

I have to say that, as a fun of Fedora for 7 years, Fedora has been more and more inactive. Comparing to Ubuntu community, supports, user experiences and OS itself all have felled behind. I love Fedora, but I have to give it up and use Ubuntu. It may be a good choice, but feel complicated.

Friday, August 3, 2012

愤怒,偏见和猜疑都将阻碍有效的交流

有时候我就在想,我这种性格是怎么产生的!三个特征相互加强,相互支持,真是无懈可击。
愤怒:我喜欢用自己的感觉来揣度别人的想法,如果猜对了,就沾沾自喜,加强自己的偏见;如果猜错了,就恼羞成怒,不愿意承认,认为自己不会错,从而产生偏见;

偏见:我喜欢用自圆其说来预测别人的想法,有些事自圆其说了,我甚至不会怀疑,有些事不能自圆其说,我就不愿意相信,即使现在,我的脑海里还有一个声音在浮现“这世界上怎么会有不能自圆其说的事”!

猜疑:它是偏见的一种极端表现,对于我认为不能发生的事,即使发生了,我也认为其中定有内因,只是自己没有发现;对于自己认为可能发生的,就深信不疑,不发生我也认为有人从中作梗...

自己的问题最好能自己发现,在主动改正,不然有你好受的!今天是不输房子部署地的关系,明天,估计就不会这么轻松了!