- Sun Jun 07, 2009 6:02 pm
#74411
I came up with demo python program to play with WiTilt v3.3 module. It definitely needs improvement and I'm planning to post it to some OpenSource project, but before I'd like to hear/read some comments.
I'm not sure how could I post the project here, it seems to be impossible, but upon any request I can email it to you. Again, this post is the first shot towards distributing the project and finding somebody who'd like to improve it.
If none will reply -- I will move the topic to some OpenSource project forum.
Brief description:
1. Allows to configure the module through built-in menu
2. Displays raw sample data (XYZR), as well as integral values: velocity, position, angle (upon integration of acceleration and angular velocity).
3. Uses preconfigured sampling rate (I usually play with 100Hz) and binary mode of data exchange
4. Interprets the incoming data, process them (averaging), integrate them and displays with 30 fps.
5. Has calibration feature which employs averaging instead of instant samples as in built-in feature.
6. The program written in python + pygame + pyserial
7. Tried on Ubuntu (9.04) and Windows(XP) machines
I'm not sure how could I post the project here, it seems to be impossible, but upon any request I can email it to you. Again, this post is the first shot towards distributing the project and finding somebody who'd like to improve it.
If none will reply -- I will move the topic to some OpenSource project forum.
Brief description:
1. Allows to configure the module through built-in menu
2. Displays raw sample data (XYZR), as well as integral values: velocity, position, angle (upon integration of acceleration and angular velocity).
3. Uses preconfigured sampling rate (I usually play with 100Hz) and binary mode of data exchange
4. Interprets the incoming data, process them (averaging), integrate them and displays with 30 fps.
5. Has calibration feature which employs averaging instead of instant samples as in built-in feature.
6. The program written in python + pygame + pyserial
7. Tried on Ubuntu (9.04) and Windows(XP) machines
--
Simon
Simon