[Texas] Racecar data acquisition problems
Cole Hudson
m.cole.hudson at gmail.com
Wed Oct 7 02:07:29 CEST 2009
This will be my first mailing, so hello everyone from Victoria, TX. I have a
basic, proof of concept application that is not working due to what I
suspect to be a threading problem, hopefully we can sort it out.
The application will eventually be a full blown data acquisition program for
use in a racecar. Right now, all it does is display some gauges forward,
backward, and lateral acceleration. The acceleration data comes from a
wiimote connected my my in-car computer via bluetooth. I'm a mechanical
engineer with little exposure to programming other than matlab, so I've used
other people's code and utilities as much as possible. If anybody has any
suggestions on a better way to do this, please, advise.
The occurs after one stops reading the data from the wiimote. run the
program, press start (the program is hard-coded to my wiimote, so you will
need to figure out your wiimote's address and replace it in the code, use
the attached discover.py to get your address), wait for the program to start
reading, now press stop. When one tries to restart data acquisition process
after this, it doesn't work. I kind of want to get this ironed out before I
move on with creating the rest of the application. I have attached all the
pertinent files. Run testv6 to begin. Thanks in advance guys, have a good
one.
-Cole
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/texas/attachments/20091006/177d1de8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SM_test_accel_v6.py
Type: text/x-python
Size: 6673 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/texas/attachments/20091006/177d1de8/attachment-0006.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SpeedMeter.py
Type: text/x-python
Size: 57307 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/texas/attachments/20091006/177d1de8/attachment-0007.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wiimote_Event.py
Type: text/x-python
Size: 1432 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/texas/attachments/20091006/177d1de8/attachment-0008.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wii_Remote.py
Type: text/x-python
Size: 5973 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/texas/attachments/20091006/177d1de8/attachment-0009.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WMDriver.py
Type: text/x-python
Size: 1479 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/texas/attachments/20091006/177d1de8/attachment-0010.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: discover.py
Type: text/x-python
Size: 3281 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/texas/attachments/20091006/177d1de8/attachment-0011.py>
More information about the Texas
mailing list